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: (), tmuxt _model: (), options()) -> {ok, subscription()} | {error, map()}.session -
- Parameters
-
-
Server(tmux_server: ())t
-
Recorded calls
source callsThe 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 materialPages that discuss subscribe/3.
- Concepts
- Topics