BootstrappedCluster
이 콘텐츠는 아직 번역되지 않았습니다.
BootstrappedCluster =
object
Defined in: src/cluster/ClusterBootstrap.ts:30
Return value of Cluster.bootstrap.
Properties
Section titled “Properties”cluster
Section titled “cluster”
readonlycluster:Cluster
Defined in: src/cluster/ClusterBootstrap.ts:32
receptionist
Section titled “receptionist”
readonlyreceptionist:ActorRef<unknown> |null
Defined in: src/cluster/ClusterBootstrap.ts:34
null when receptionist: false was passed.
shutdown
Section titled “shutdown”
readonlyshutdown: () =>Promise<void>
Defined in: src/cluster/ClusterBootstrap.ts:40
Graceful shutdown — leaves the cluster, then terminates the system. Idempotent; safe to call multiple times. Bound to SIGTERM/SIGINT by default (see ClusterBootstrapOptionsType.shutdownOnSignals).
Returns
Section titled “Returns”Promise<void>
system
Section titled “system”
readonlysystem:ActorSystem
Defined in: src/cluster/ClusterBootstrap.ts:31
