Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Server.ValidateLayoutsAsync

Checks layouts before a workspace changes the server.

Source and package
Qualified name
LibTmux.Server.ValidateLayoutsAsync
Namespace
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Layout.cs
Task ValidateLayoutsAsync( IEnumerable<(string Layout, int PaneCount)> layouts, CancellationToken cancellationToken = default )

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
Returns

A task completing when every layout is safe to send.

Errors

Recorded calls

source calls
No call edges in the C# model.

The C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.ValidateLayoutsAsync.

Esc
Search in

Type to search.

Reference previewOpen reference