isInit method

ActorBuilder isInit(
  1. Actor actor
)

Handle a message if it is an initMsg.

Implementation

ActorBuilder isInit(Actor actor) {
  _conditions.add(_Condition(
    (ctx, msg) => msg == initMsg,
    actor,
  ));
  return this;
}