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.

method libtmux-dotnet latest

Session.SwitchClientAsync

Namespace LibTmux.Session.SwitchClientAsync LibTmux

Switches the current client to this session.

View as Markdown

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

A replacement handle carrying the state after the switch.

In other ports Switch the caller's client to a session
  • Python libtmux.Session.switch_client
  • 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 Session
  • Rust no equivalent on Session
  • Go tmux.Session.SwitchClient
  • Java no equivalent on Session
  • C++ no equivalent on Session
  • Swift no equivalent on Session
  • 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.