Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Server.wait_for

Wait for, signal, or lock a channel via $ tmux wait-for.

Source and package
Qualified name
libtmux.Server.wait_for
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
Other languages
PowerShell Julia Ruby Lua TypeScript RustGo Java C#C++Swift Kotlin Scala F#
wait_for ( self, channel: str, lock: bool | None = None, unlock: bool | None = None, set_flag: bool | None = None, ) → None

Examples#

>>> server.new_session(session_name='wait_test')
Session(...)
>>> server.wait_for('test_channel', set_flag=True)
Parameters

tmux command wait-for

Discussed in Pane interaction , Waiting and retrying

In other ports Wait for, signal or lock a channel
Esc

Type to search.

Reference preview Open reference