ShardedDaemonProcessHandle
Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:40
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”region
Section titled “region”
readonlyregion: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.
Methods
Section titled “Methods”stop()
Section titled “stop()”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.
Returns
Section titled “Returns”void
tell()
Section titled “tell()”tell(
index,message):void
Defined in: src/cluster/sharding/ShardedDaemonProcess.ts:48
Send a user message to daemon #i.
Parameters
Section titled “Parameters”number
message
Section titled “message”T
Returns
Section titled “Returns”void