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

libtmux.server._fetch_or_empty

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux.server
Package
libtmux
Source
src/libtmux/server.py
_fetch_or_empty ( server : Server , list_cmd : str , kwargs : t.Any ) → list[dict[str, t.Any]]
function [source]
function [source]
_fetch_or_empty

Wrap fetch_objs : treat a not-yet-started server as empty.

A fresh Server can be introspected via Server.sessions , Server.windows , etc. before the daemon is up. Other tmux errors, such as socket permission failures, still propagate.

0 declared, 0 inherited

Esc

Type to search.