orSkip method
Creates the actor. If no condition is met, the message is skipped.
Implementation
Actor orSkip() {
_conditions.add(_Condition(
(ctx, msg) => true,
(ctx, msg) => null,
));
return _actor();
}
Creates the actor. If no condition is met, the message is skipped.
Actor orSkip() {
_conditions.add(_Condition(
(ctx, msg) => true,
(ctx, msg) => null,
));
return _actor();
}