Server.snapshot()
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Server.swift
- Other languages
- Python RubyLuaTypeScript Rust GoJava.NET C++
-
Reads every object from one daemon incarnation.
The listings are separate tmux commands, so the server's identity is read before and after them. If a daemon died and a replacement bound the same socket in between, this throws
TmuxError/serverRestarted. Another client can still mutate the same daemon between listings.- Raises
Discussed in Architecture
In other ports Capture the whole hierarchy at one instant
- Python no equivalent on
Server - Ruby
LibTmux::Server#snapshot - Lua
libtmux.Server:snapshot - TypeScript
server.Server.snapshot - Rust no equivalent on
Server - Go
tmux.Server.Snapshot - Java
io.github.libtmux.Server.Server.snapshot - .NET
LibTmux.Server.CaptureSnapshotAsync - C++ no equivalent on
Server
0 declared, 0 inherited