libtmux Reference MCP Search
On this page

LibTmux.Server.CreateOwnedAsync

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. Creating the first session through the endpoint both starts it for real and materializes it.

Parameters
Returns

A scope that stops the server when disposed.

0 declared, 0 inherited

Esc

Type to search.