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

withNamedTmuxServer(_:)

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

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.