Expand description
Microtask and render queue tools.
On wasm32 targets, the microtask queue is the javascript microtask queue. On other targets, it is simulated with a thread local executor. The render queue holds tasks to be run on an animation frame. Any updates to the DOM via silkenweb are put on the render queue. See requestAnimationFrame on MDN for details.
Modules§
- Server only task tools.
Traits§
Functions§
- Run a closure on the next animation frame.
- Render any pending updates.
- Run futures on the microtask queue, until no more progress can be made.
- Run a future in a context.
- Spawn a future on the microtask queue.
- Synchronous version of
scope
.