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