Skip to main content

ShutdownReaction

Type Alias ShutdownReaction 

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

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