Module workflow_core::task::wasm

source ·
Expand description

WASM implementation

Re-exports§

Macros§

Structs§

  • 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§

  • async interval() function backed by the JavaScript createInterval()
  • Sleeps for the specified amount of time.
  • Cooperatively gives up a timeslice to the task scheduler.