[−][src]Macro stakker::lazy
Lazily perform an actor call or inline code
The call syntax accepted is identical to the call!
macro.
However the plain [actor], ...
form is not accepted because a
Core
reference is always needed. This queues calls to the
lazy queue which is run only after the normal defer queue has been
completely exhausted. This can be used to run something at the
end of this batch of processing, for example to flush buffers
after accumulating data.
Implemented using Core::lazy
, Actor::apply
and
Actor::apply_prep
.