public SupervisorActor(Inbox inbox, ActorExceptionHandler handler, Action<ActorRef, ActorRestartLimitReached> restartLimitReachedHandler) { _inbox = inbox; inbox.SetExceptionHandler(handler); inbox.Receive<ActorRestartLimitReached>(msg => restartLimitReachedHandler(inbox, msg)); }
public SupervisorActor(Inbox inbox, ActorExceptionHandler handler, Action <ActorRef, ActorRestartLimitReached> restartLimitReachedHandler) { _inbox = inbox; inbox.SetExceptionHandler(handler); inbox.Receive <ActorRestartLimitReached>(msg => restartLimitReachedHandler(inbox, msg)); }
public void SetExceptionHandler(ActorExceptionHandler handler) { _inbox.SetExceptionHandler(handler); }