Core Library0.xAPI reference

Choose documentation 1

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.

MoreLess about this notice

function libtmux-erlang

tmux_stream:subscribe/3

Start a dedicated client on an owned or borrowed server and subscribe this process. Pass a session captured on that endpoint. Attaching skips the session environment update and ignores the client's size. Native hooks still run. The client retires when tmux reports a different session. The returned subscription includes its initial credit. Start effects after this call returns to observe their output. A startup error can return a control handle for tmux_control:close/1 when native retirement needs another attempt.

Source and package
Qualified name
tmux_stream:subscribe/3
Declared in
tmux_stream
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_stream.erl
subscribe(Server, Session, Options) -spec subscribe(tmux_server:t(), tmux_model:session(), options()) -> {ok, subscription()} | {error, map()}.

Recorded calls

source calls
No call edges in the Erlang model.

The Erlang reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls tmux_stream:subscribe/3.

Guides

task material

Pages that discuss subscribe/3.

Esc
Search in

Type to search.

Reference previewOpen reference