Skip to main content

Interface: WaitForOptions<T>

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

Type Parameters​

T​

T

Properties​

filter?​

optional filter?: (payload) => boolean

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

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:14

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