Skip to main content

ShutdownReaction

Type Alias ShutdownReaction 

Source
pub type ShutdownReaction<B> = fn(&mut B, ShutdownRequested) -> Result<Actions<<B as Behavior>::Addr, <B as Behavior>::Ph, <B as Behavior>::Sends, <B as Behavior>::Birth>, <B as Behavior>::Error>;
Expand description

A final shutdown fold. Its sends and fresh creations are retained, while its become verdict is replaced with Stop(Normal).