# Server.signal(_:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Wait.swift#L53
- **Page:** https://libtmux.org/reference/swift/server-signal(_-)/

```
Server.signal(_:)(channel: String) -> ()
```

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

- `TmuxError`
