콘텐츠로 이동
한국어

ScatterGatherOptionsBuilder

이 콘텐츠는 아직 번역되지 않았습니다.

Defined in: src/ScatterGatherOptions.ts:85

Fluent builder for ScatterGatherOptionsType:

const hedgeOptions = ScatterGatherOptions.create().withTimeoutMs(250);
system.spawn(Router.scatterGatherFirstCompleted(3, Replica, hedgeOptions), 'replicas');

new ScatterGatherOptionsBuilder(): ScatterGatherOptionsBuilder

ScatterGatherOptionsBuilder

OptionsBuilder.constructor

build(): Partial<T>

Defined in: src/util/OptionsBuilder.ts:51

Snapshot the set fields as an independent Partial<T> (own props only).

Partial<T>

OptionsBuilder.build


withTimeoutMs(timeoutMs): this

Defined in: src/ScatterGatherOptions.ts:92

How long one scatter may run before it is given up on (ms).

number

this


static create(): ScatterGatherOptionsBuilder

Defined in: src/ScatterGatherOptions.ts:87

Start a fresh builder.

ScatterGatherOptionsBuilder