Crate async_wasm_task

source ·

Structs

Constants

Functions

  • Spawns a new asynchronous task, returning a JoinHandle for it.
  • Runs the provided closure on a web worker(thread) where blocking is acceptable.
  • Yields execution back to the JavaScript event loop.