Skip to content

ShardedDaemonProcessHandle

Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:40

T

readonly region: ActorRef<DaemonEnvelope<T>>

Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:45

Sharded region ref. Messages sent here must carry a {index, body} envelope — use tell(i, msg) on the handle instead.

stop(): void

Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:55

Stop the liveness heartbeat + cluster subscription. Idempotent. Does NOT stop the running daemon entities — that happens when the cluster shuts down or the region itself is stopped.

void


tell(index, message): void

Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:48

Send a user message to daemon #i.

number

T

void