Skip to main content

DrainOptions

@rotorsoft/act-root


@rotorsoft/act-root / act/src / DrainOptions

Type Alias: DrainOptions

DrainOptions = object

Defined in: libs/act/src/types/reaction.ts:383

Options for draining events from the store.

Propertiesโ€‹

eventLimit?โ€‹

readonly optional eventLimit?: number

Defined in: libs/act/src/types/reaction.ts:385

Maximum number of events to fetch per stream.


leaseMillis?โ€‹

readonly optional leaseMillis?: number

Defined in: libs/act/src/types/reaction.ts:386

Maximum lease duration (in milliseconds).


streamLimit?โ€‹

readonly optional streamLimit?: number

Defined in: libs/act/src/types/reaction.ts:384

Maximum number of streams to fetch.