On this page
LibTmux.Server.CaptureSnapshotAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Snapshots.cs
- CaptureSnapshotAsync ( depth : SnapshotDepth , cancellationToken : CancellationToken ) Task<Server>
-
Reads the server and answers a handle carrying what it found.
A handle that has not yet found a live server discovers one first, because a scope hands back the unmaterialized endpoint it started.
- Parameters
-
-
depth ( SnapshotDepth ) – How far down the hierarchy to read.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
A handle whose relations are the ones this reading found.
- Raises
-
-
InvalidOperationException – The handle has no connection.
-
0 declared, 0 inherited