Module workflow_core::task::native
source · Expand description
native implementation
Re-exports§
pub use super::*;
Macros§
Structs§
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§
async interval()
function backed by the JavaScriptcreateInterval()
- Waits until
duration
has elapsed. - Yields execution back to the Tokio runtime.
- Yields execution back to the Tokio runtime.