Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Swift API

Swift documentation

Server.snapshot()

Swift

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Server.swift
Other languages
Python RubyLuaTypeScript Rust GoJava.NET C++
snapshot() ( ) → Snapshot
methodasync [source]
methodasync [source]
snapshot()

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

0 declared, 0 inherited

Esc

Type to search.