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

LibTmux.Server.CreateOwnedAsync

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

View as Markdown

Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Lifecycle.cs
CreateOwnedAsync ( options : ServerConnectionOptions? , cancellationToken : CancellationToken ) → Task<OwnedServerScope>
methodstaticasync [source]
methodstaticasync [source]
CreateOwnedAsync

Starts a server and takes ownership of it.

The scope holds an endpoint rather than a materialized server, because a tmux server with no sessions exits at once. Value stays that endpoint after a session is created through it; its session, window, and pane listings and CaptureSnapshotAsync discover the live server on each call, and the objects they return carry the discovered handle.

Parameters
Returns

A scope that stops the server when disposed.

0 declared, 0 inherited

Esc

Type to search.