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

Swift API

Swift documentation

Server.session(named:)

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/Lookup.swift
session(named:) ( named : String ) → Session?
methodasync [source]
methodasync [source]
session(named:)

The session with this name, or nil if no session has it.

Names are unique among sessions, which is why this returns one rather than a list. Use hasSession(_:) when only existence matters — it asks tmux a question it answers with an exit status and decodes nothing.

Raises

0 declared, 0 inherited

Esc

Type to search.