Aller au contenu
Français

BootstrappedCluster

Ce contenu n’est pas encore disponible dans votre langue.

Defined in: src/cluster/ClusterBootstrap.ts:111

Return value of Cluster.bootstrap.

readonly cluster: Cluster

Defined in: src/cluster/ClusterBootstrap.ts:113


readonly receptionist: ActorRef<unknown> | null

Defined in: src/cluster/ClusterBootstrap.ts:115

null when receptionist: false was passed.


readonly shutdown: () => 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).

Promise<void>


readonly system: ActorSystem

Defined in: src/cluster/ClusterBootstrap.ts:112