Server.snapshot/2
Captures a new graph explicitly, with bounded work and read retries.
Source and package
- snapshot(server, options \\ []) @spec snapshot(t(), [Lib
Tmux ()]) :: {:ok, Lib.Capture .option Tmux ()} | {:error, Lib.Snapshot .t Tmux ()}.Error .t -
Description#
See the worked example.
Discussed in Read values, execute explicitly , Captured tmux state · Capture a pane and read it
In other ports Capture the tmux hierarchy
- PowerShell
LibTmux\Get-TmuxSnapshotAcquires a replacement
LibTmux.Serverto-Depth(panes by default). Acquisition is not atomic; retained handles do not refresh. - Julia
LibTmux.snapshotAcquires a new
Snapshotover an observation interval. Topology checks do not make it a transaction; earlier snapshots do not refresh. - Python no equivalent on
Server - Ruby
- Lua
- TypeScript
- Rust no equivalent on
Server - Go
- Java
- C#
- C++ no equivalent on
Server - Swift
- Kotlin
- Scala
- F#
LibTmux.FSharp.Server.captureAcquires a replacement shared .NET
LibTmux.Serverto the requested depth. Acquisition is not atomic; retained handles do not refresh.
- PowerShell