libtmux Reference MCP Search
On this page

types.ConnectionOptions.bufferSize

View as Markdown

Module
types
Declared in
ConnectionOptions
Package
@libtmux/libtmux
Source
packages/libtmux/src/types.ts
bufferSize : : number
propertyreadonly [source]
propertyreadonly [source]
bufferSize

How many events to hold for a consumer that has fallen behind.

On overflow the oldest event is dropped and TmuxEventStream.dropped counts 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

Esc

Type to search.