Skip to main content

Interface: WaitForOptions<T>

Defined in: packages/orchestration/src/event-bus/event-bus.ts:18

Type Parameters

T

T

Properties

filter?

optional filter?: (payload) => boolean

Defined in: packages/orchestration/src/event-bus/event-bus.ts:22

Only resolve when this predicate returns true

Parameters

payload

T

Returns

boolean


timeoutMs?

optional timeoutMs?: number

Defined in: packages/orchestration/src/event-bus/event-bus.ts:20

Reject with TimeoutError after this many milliseconds. Defaults to 5 minutes. Pass 0 or Infinity to disable.