Skip to content

EventConsumerPollOptions

Defined in: packages/server/src/events/consumer.ts:112

Adaptive-poll tuning. Defaults are the ADR’s; they are TUNING, not contract — the pacing mechanism itself is internal and may change.

optional ceilingMs?: number

Defined in: packages/server/src/events/consumer.ts:116

The longest wait an idle stream reaches. Defaults to DEFAULT_EVENT_POLL_CEILING_MS.


optional factor?: number

Defined in: packages/server/src/events/consumer.ts:118

The growth factor per consecutive empty read. Defaults to DEFAULT_EVENT_POLL_FACTOR.


optional floorMs?: number

Defined in: packages/server/src/events/consumer.ts:114

The wait after the first empty read. Defaults to DEFAULT_EVENT_POLL_FLOOR_MS.