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

Namespace LibTmux.Server.ValidateLayoutsAsync LibTmux

Checks layouts before a workspace changes the server.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Layout.cs
ValidateLayoutsAsync ( layouts : IEnumerable<(string Layout, int PaneCount)> , cancellationToken : CancellationToken ) → Task
method [source]

Description#

Checks custom syntax, checksums, and minimum cell counts without checking geometry. Version-sensitive names use the daemon version, or the client version when no daemon is running. This never starts or changes a server.

Parameters
  • layouts ( IEnumerable<(string Layout, int PaneCount)> ) – Layouts and the number of panes each must accommodate.

  • cancellationToken ( CancellationToken ) – Cancels version discovery.

Returns

A task completing when every layout is safe to send.

Raises
Esc

Type to search.