ShardBusOptions
Defined in: packages/sharding/src/bus.ts:45
Options for a ShardBus.
Properties
Section titled “Properties”maxPending?
Section titled “maxPending?”
optionalmaxPending?:number
Defined in: packages/sharding/src/bus.ts:52
Most requests waiting for a reply at once (default 10,000); more are rejected.
transport?
Section titled “transport?”
optionaltransport?:ShardBusTransport
Defined in: packages/sharding/src/bus.ts:50
How messages travel. Defaults to IPC inside a cluster forked by
ClusterManager, and to a BroadcastChannel otherwise.