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.

method libtmux-ts latest

ConnectedServer.subscribe

Open an independent view of the notifications arriving on this connection.

Source and package
Qualified name
ConnectedServer.subscribe
Module
types
Declared in
ConnectedServer
Package
libtmux
Source
packages/libtmux/src/types.ts
subscribe(): TmuxEventStream

Description#

Each call is its own subscription with its own buffer, so a for await loop and a waitFor() can run side by side.

Esc

Type to search.

Reference previewOpen reference