Skip to main content

Module future

Module future 

Source

Structs§

YieldNow
The future returned by yield_now.

Functions§

yield_now
Returns Pending once (after waking itself), letting the executor run other ready tasks. Works on any executor. #[psync::graph(yield_every = N)] inserts it into long loops.

Type Aliases§

BoxFuture
LocalBoxFuture