ActorLifecycleEvent
Это содержимое пока не доступно на вашем языке.
Defined in: src/SystemMessages.ts:74
Base class for the actor-lifecycle events published on the EventStream.
Until these existed the event stream carried dead letters, cluster
events and broker events — but nothing about actors coming and going,
so the only way to learn that the tree had changed was to poll it.
A common base lets a subscriber take the whole family with one
subscribe(ref, ActorLifecycleEvent) (the stream matches by
instanceof, so subclasses reach base subscribers).
Publishing is unconditional but cheap: the event stream skips allocation-free when nothing subscribes to the channel. These are observations, not control flow — nothing in the runtime reacts to them, and a slow subscriber cannot delay an actor’s lifecycle.
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ActorLifecycleEvent(
actor):ActorLifecycleEvent
Defined in: src/SystemMessages.ts:79
Parameters
Section titled “Parameters”The actor the event is about.
Returns
Section titled “Returns”ActorLifecycleEvent
Properties
Section titled “Properties”
readonlyactor:ActorRef
Defined in: src/SystemMessages.ts:81
The actor the event is about.
