Calling any of the IWithTimers.ScheduleXXX methods will not work inside PreRestart because those timers will immediately be cancelled when the actor restarts, by design. If an actor wants to schedule a message to itself between restarts it should do that using the older methods.
Calling any of the
IWithTimers.ScheduleXXXmethods will not work insidePreRestartbecause those timers will immediately be cancelled when the actor restarts, by design. If an actor wants to schedule a message to itself between restarts it should do that using the older methods.