LibTmux.Server.WaitForAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Execution.cs
- Other languages
- PythonRuby Lua TypeScript RustGo Java C++Swift
- WaitForAsync ( request : WaitForRequest , cancellationToken : CancellationToken ) Task
-
Waits on, signals, locks, or unlocks a tmux channel.
Waiting blocks until something else signals the channel, so a call that waits does not return on its own.
- Parameters
-
-
request ( WaitForRequest ) – Which channel, and what to do with it.
-
cancellationToken ( CancellationToken ) – Cancels waiting for tmux's reply. For
Waitthis kills the client while tmux keeps its queue entry, eating the next real signal — preferOpenWaitChannelwhenever aWaitneeds a deadline. ForLockcancelling never kills the client, since tmux hands a released lock to whichever queued client is still alive: the client keeps running, and a lock it goes on to acquire is released again automatically once this call has already given up on it.
-
In other ports Wait for, signal or lock a channel
- Python
libtmux.Server.wait_for - Ruby
LibTmux::Server#wait_for - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Server - Rust
server.Server.wait_for_channel - Go
tmux.Server.WaitFor - Java no equivalent on
Server - C++
libtmux::Server::wait_for - Swift
Server.wait(for:)
0 declared, 0 inherited