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

Swift API

Swift documentation

Server.signal(_:)

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Wait.swift
signal(_:) ( channel : String ) → ()
methodasync [source]
methodasync [source]
signal(_:)

Releases one waiter on channel.

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.

Raises

Discussed in Waiting and retrying

0 declared, 0 inherited

Esc

Type to search.