Skip to main content
Module future
psync
0.1.0
Module future
Module Items
Structs
Functions
Type Aliases
In crate psync
psync
Module
future
Copy item path
Source
Structs
§
Yield
Now
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
Local
BoxFuture