[−][src]Macro stakker::idle
Perform an actor call, forward call or inline code when the process becomes idle
The call syntax accepted is identical to the call!
macro.
This queues calls to the idle queue which is run only when there
is nothing left to run in the normal and lazy queues, and there is
no I/O pending. This can be used to create backpressure,
i.e. fetch more data only when all current data has been fully
processed.
Implemented using Core::idle
, Actor::apply
and
Actor::apply_prep
.