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.

function libtmux-swift latest

withNamedTmuxServer(_:)

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

Source and package
Qualified name
withNamedTmuxServer(_:)
Package
libtmux-swift
Source
Tests/TmuxFixture/TmuxFixture.swift
withNamedTmuxServer(body: (Server) async throws -> Result) -> Result

Description#

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.

Type parameters
Parameters
Raises
Esc

Type to search.

Reference previewOpen reference