isShutdown method
Handle a message if it is an shutdownMsg
.
Implementation
ActorBuilder isShutdown(Actor actor) {
_conditions.add(_Condition(
(ctx, msg) => msg == shutdownMsg,
actor,
));
return this;
}
Handle a message if it is an shutdownMsg
.
ActorBuilder isShutdown(Actor actor) {
_conditions.add(_Condition(
(ctx, msg) => msg == shutdownMsg,
actor,
));
return this;
}