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.CreateSessionWithReceiptAsync

Namespace LibTmux.Server.CreateSessionWithReceiptAsync LibTmux

Creates a session and returns its initial window and pane identities.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Lifecycle.cs
CreateSessionWithReceiptAsync ( request : NewSessionRequest? , cancellationToken : CancellationToken ) → Task<SessionCreationResult>
methodasync [source]

Description#

The returned session is bound to the creating daemon. Its child identifiers are creation-time facts, not a snapshot or a promise that the children still belong to the session. A failed readback publishes no receipt or cleanup ownership.

Parameters
Returns

The created session and child identifiers from the same creation reply.

Raises
Esc

Type to search.