Expand description
WASM implementation
Modules§
- native
- native implementation
Macros§
Structs§
- Interval
Interval
stream used by theinterval()
function to provide a a time interval stream. The stream is backed by tokio interval stream on native platforms and by by the JavaScriptsetInterval()
andclearInterval()
APIs in WASM32 environment.
Functions§
- disable_
persistent_ timer_ overrides - dispatch
- interval
async interval()
function backed by the JavaScriptcreateInterval()
- 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.