跳转到内容
简体中文

BootstrappedCluster

此内容尚不支持你的语言。

BootstrappedCluster = object

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

Return value of Cluster.bootstrap.

readonly cluster: Cluster

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


readonly receptionist: ActorRef<unknown> | null

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

null when receptionist: false was passed.


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

Promise<void>


readonly system: ActorSystem

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