Module wasm

Source
Expand description

WASM implementation

Modules§

native
native implementation

Macros§

call_async_no_send

Structs§

Interval
Interval stream used by the interval() function to provide a a time interval stream. The stream is backed by tokio interval stream on native platforms and by by the JavaScript setInterval() and clearInterval() APIs in WASM32 environment.

Functions§

disable_persistent_timer_overrides
dispatch
interval
async interval() function backed by the JavaScript createInterval()
sleep
Sleeps for the specified amount of time.
spawn
yield_executor
Yields execution back to the Tokio runtime.
yield_now
Cooperatively gives up a timeslice to the task scheduler.