Module native

Source
Expand description

native implementation

Re-exports§

pub use super::*;

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§

dispatch
interval
async interval() function backed by the JavaScript createInterval()
sleep
Waits until duration has elapsed.
spawn
yield_executor
Yields execution back to the Tokio runtime.
yield_now
Yields execution back to the Tokio runtime.