跳转到内容
简体中文

BootstrappedCluster

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

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