[−][src]Macro stakker::fwd_do
Create a Fwd
instance which performs an arbitrary action
The action is performed immediately at the point in the code where
the message is forwarded. So this is executed synchronously
rather than asynchronously. However it will normally be used to
defer a call, since it doesn't have access to any actor, just
Core
and the message data.
ⓘThis example is not tested
fwd_do!(|core, msg| ...);
Implemented using Fwd::new
.