BootstrappedCluster
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/cluster/ClusterBootstrap.ts:111
Return value of Cluster.bootstrap.
Properties
Section titled “Properties”cluster
Section titled “cluster”
readonlycluster:Cluster
Defined in: src/cluster/ClusterBootstrap.ts:113
receptionist
Section titled “receptionist”
readonlyreceptionist:ActorRef<unknown> |null
Defined in: src/cluster/ClusterBootstrap.ts:115
null when receptionist: false was passed.
shutdown
Section titled “shutdown”
readonlyshutdown: () =>Promise<void>
Defined in: src/cluster/ClusterBootstrap.ts:121
Graceful shutdown — leaves the cluster, then terminates the system. Idempotent; safe to call multiple times. Bound to SIGTERM/SIGINT by default (see ClusterBootstrapOptions.shutdownOnSignals).
Returns
Section titled “Returns”Promise<void>
system
Section titled “system”
readonlysystem:ActorSystem
Defined in: src/cluster/ClusterBootstrap.ts:112