System message that terminates the receiving actor. More...
#include <actorsystem.hpp>
Static Public Attributes | |
| static constexpr TMessageId | MessageId = static_cast<TMessageId>(ESystemMessages::PoisonPill) |
System message that terminates the receiving actor.
Sending TPoison to any actor removes it from the system. Its destructor is called on the next GC cycle. The actor slot is then recycled with a bumped cookie so stale messages cannot reach its successor.