Skip to main content
StaticEventEmitterIteratorOptions - events - Node documentation
interface StaticEventEmitterIteratorOptions

Usage in Deno

import { type StaticEventEmitterIteratorOptions } from "node:events";

Properties

optional
close: string[] | undefined

Names of events that will end the iteration.

optional
highWaterMark: number | undefined

The high watermark. The emitter is paused every time the size of events being buffered is higher than it. Supported only on emitters implementing pause() and resume() methods.

optional
lowWaterMark: number | undefined

The low watermark. The emitter is resumed every time the size of events being buffered is lower than it. Supported only on emitters implementing pause() and resume() methods.