Skip to content
English

ShardedDaemonProcessHandle

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

T

readonly region: ActorRef<DaemonEnvelope<T>>

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

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

stop(): void

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

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:30

Send a user message to daemon #i.

number

T

void