MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

LibTmux.Mcp.TmuxConnectionAccessor.Invalidate

API reference · Markdown

LibTmux.Mcp.TmuxConnectionAccessor.Invalidate ( socketName : string? ) → void
method [source]

Forgets a cached server so the next call reconnects.

Description#

A materialized handle names one tmux <em>process</em>. Killing the server and starting another gives the same socket a different process, and the old handle then refuses to be used rather than quietly answering for a server that no longer exists.

Parameters
  • socketName ( string? ) – The socket, or null for the configured default.

Esc

Type to search.