Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

C# API

method libtmux-dotnet latest

Server.GetAttachedSessionsAsync

Namespace LibTmux.Server.GetAttachedSessionsAsync LibTmux

Reads every session with at least one attached client.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Collections.cs
Other languages
Python Ruby Lua TypeScript Rust Go Java C++ Swift Kotlin Scala F#
GetAttachedSessionsAsync ( cancellationToken : CancellationToken ) → Task<IReadOnlyList<Session>>
methodasync [source]

Description#

A handle that has not found a live server yet discovers one first.

Parameters
Returns

The attached sessions reported by a successful read.

Raises
In other ports List the sessions a client is attached to
  • Python libtmux.Server.attached_sessions
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Server
  • Rust server.Server.attached_sessions
  • Go no equivalent on Server
  • Java io.github.libtmux.Server.attachedSessions
  • C++ no equivalent on Server
  • Swift no equivalent on Server
  • Kotlin No source-verified Kotlin equivalent is recorded for this operation.
  • Scala No source-verified Scala equivalent is recorded for this operation.
  • F# No source-verified F# equivalent is recorded for this operation.
Esc

Type to search.