Crate wasm_thread
source · [−]Structs
Thread factory, which can be used in order to configure the properties of a new thread.
An owned permission to join on a thread (block on its termination).
A handle to a thread.
A unique identifier for a running thread.
Functions
Gets a handle to the thread that invokes it.
Extracts path of the wasm_bindgen
generated .js shim script
Generates worker entry script as URL encoded blob
Puts the current thread to sleep for at least the specified amount of time.
Spawns a new thread, returning a JoinHandle for it.
Entry point for web workers