On this page
types.ConnectionOptions.bufferSize
- Module
- types
- Declared in
- ConnectionOptions
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/types.ts
-
How many events to hold for a consumer that has fallen behind.
On overflow the oldest event is dropped and
TmuxEventStream.droppedcounts it. Buffering without a bound would let a slow consumer grow the heap until the process dies, which is worse than losing an event.
0 declared, 0 inherited