Module denow_runtime::web_worker
source · Structs
This struct is an implementation of
Worker Web APIThis is the handle to the web worker that the parent thread uses to
communicate with the worker. It is created from a and other fun stuff.
SendableWebWorkerHandle
which is sent to the parent thread from the worker thread where it is
created. The reason for this separation is that the handle first needs to be
Send when transferring between threads, and then must be Clone when it
has arrived on the parent thread. It can not be both at once without large
amounts of ArcEnums
Events that are sent to host from child
worker.
Functions
This function should be called from a thread dedicated to this worker.