ActorShutdownPolicy Enum¶
Chooses which pending timers a ProtocolActor executes during shutdown.
Fields¶
DrainDueTimers 0
Preserves the original behavior: finish accepted mailbox work, then execute due timers. Timers that are not yet due are discarded. Rearming after disposal is rejected.
DiscardPendingTimers 1
Finish accepted mailbox work and discard pending timers, including already due ones. A timer selected for execution before disposal may still complete. No new work is accepted.