LibTmux.Server.CreateOwnedAsync
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Lifecycle.cs
- CreateOwnedAsync ( options : ServerConnectionOptions? , cancellationToken : CancellationToken ) Task<OwnedServerScope>
-
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.
Valuestays that endpoint after a session is created through it; its session, window, and pane listings andCaptureSnapshotAsyncdiscover the live server on each call, and the objects they return carry the discovered handle.- Parameters
-
-
options ( ServerConnectionOptions? ) – Connection options.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
A scope that stops the server when disposed.
0 declared, 0 inherited