libtmux Reference MCP Search
On this page

withNamedTmuxServer(_:)

View as Markdown

Package
libtmux-swift
Source
Tests/TmuxFixture/TmuxFixture.swift
withNamedTmuxServer(_:) ( body : (Server) async throws -> Result ) Result
functionasync [source]
functionasync [source]
withNamedTmuxServer(_:)

Runs body against a private tmux server addressed by socket *name*, and always kills it.

The same guarantees as withTmuxServer(_:) — its own server, killed on the way out and reaped if this process is killed outright — for the half of Endpoint that a path-addressed fixture never exercises.

Raises

0 declared, 0 inherited

Esc

Type to search.