Server.Within
Returns this server with every command bounded by a timeout of the caller's choosing.
Source and package
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Identity.cs
-
Description#
The handle shares this one's connection, so nothing is started or verified again, and it compares equal to this one. A command that outlasts the bound throws
TmuxTransportExceptionwhoseDispatchisUnknown, as withCommandTimeout. A caller's own cancellation still reads as cancellation.- Parameters
-
-
timeout ( Time
Span ) – How long tmux may take to answer each command.
-
- Returns
-
A handle to the same server. Every session, window, pane and client taken from it gives tmux the same bound.
- Raises
-
-
Invalid
Operation – This server has no connection identity.Exception -
Argument
Out – The timeout does not run forward.Of Range Exception
-