[−][src]Macro stakker::ret_shutdown
Create a Ret
instance which shuts down the event loop
ⓘThis example is not tested
ret_shutdown!(core);
This can be used as the notify handler on an actor to shut down
the event loop once that actor terminates. The reason for the
actor's failure is passed through, and can be recovered after loop
termination using Core::shutdown_reason
. See also
Ret::new
and Core::shutdown
.