Interface EventIteratorOptions

Options available for iterators of events.

Hierarchy

  • EventIteratorOptions

Properties

limit?: number

The maximum number of events to keep queued. This is used for when processing of events is slow, and will let the iterator drop old or new events or when used with AsyncEvent block emits.

Defaults to unlimited.

overflowBehavior?: OverflowBehavior

Behavior to use when this iterator has reached its limit for queued events.

Generated using TypeDoc