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 scope to spawn scoped threads in.
- An owned permission to join on a scoped 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
- Create a scope for spawning scoped threads.
- 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
Type Aliases§
- A specialized
Result
type for threads.