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.

Swift API

method libtmux-swift latest

Server.signal(_:)

Releases one waiter on channel.

Source and package
Qualified name
Server.signal(_:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Wait.swift
signal(channel: String) -> ()

Description#

Signalling a channel nobody is waiting on does not queue: it leaves the channel ready, so the next wait returns at once and spends it. A second signal puts the channel back rather than storing a second release, so an unpaired signal is worth avoiding — what a later wait does depends on how many went unmatched, not how many were sent.

Parameters
Raises

tmux command#

The tmux commands behind signal(_:).

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss signal(_:).

Esc

Type to search.

Reference previewOpen reference