ServerMirror.OpenAsync
Mirrors the server an anchor session belongs to.
Source and package
- Qualified name
-
LibTmux .Server Mirror. Open Async - Namespace
- LibTmux
- Declared in
ServerMirror- Package
- LibTmux
- Source
- src/LibTmux/Snapshots/ServerMirror.cs
- static async Task<Server
Mirror > OpenAsync( Session anchor, TimeSpan refreshEvery = default, CancellationToken cancellationToken = default ) -
- Parameters
-
-
anchor(Session) – The session the mirror's control client attaches to. -
refreshEvery(TimeSpan ) – How long a quiet mirror waits before capturing anyway, so a change tmux does not announce is seen within that long; zero never does.Default
default -
cancellationToken(CancellationToken ) – Cancels attaching and the first capture.Default
default
-
- Returns
-
A mirror whose first view is already captured.
- Errors
-
-
Argument
Out – The refresh interval is negative.Of Range Exception -
Incomplete
Snapshot – The session was not read through a server.Exception
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.ServerMirror.OpenAsync.