Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

property libtmux-ts latest

ConnectionOptions.bufferSize

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

Source and package
Qualified name
ConnectionOptions.bufferSize
Module
types
Declared in
ConnectionOptions
Package
libtmux
Source
packages/libtmux/src/types.ts
bufferSize : number

Description#

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.

Esc

Type to search.

Reference previewOpen reference