Skip to content

NobodyRef

Defined in: src/ActorRef.ts:35

The ref that means “no actor here”. Any message tell()‘d to Nobody is silently dropped (it does not even go to dead letters).

readonly path: ActorPath

Defined in: src/ActorRef.ts:37

ActorRef.path


readonly static instance: NobodyRef

Defined in: src/ActorRef.ts:36

equals(other): boolean

Defined in: src/ActorRef.ts:26

ActorRef

boolean

ActorRef.equals


kill(): void

Defined in: src/ActorRef.ts:22

Kill this actor — raises ActorKilledError through the normal supervision path.

void

ActorRef.kill


send(message): void

Defined in: src/ActorRef.ts:16

Alias for tell — useful if you want to pipe something.

unknown

void

ActorRef.send


stop(): void

Defined in: src/ActorRef.ts:19

Gracefully stop this actor after it drains its mailbox.

void

ActorRef.stop


tell(): void

Defined in: src/ActorRef.ts:39

Send a message to this actor. sender is surfaced as context.sender in the recipient.

void

ActorRef.tell


toString(): string

Defined in: src/ActorRef.ts:24

string

ActorRef.toString