method libtmux-dotnet latest
TmuxTestFactory.CreateServerAsync
Starts a server this test owns.
Source and package
- Module
- LibTmux.Testing
- Declared in
- TmuxTestFactory
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxTestFactory.cs
- CreateServerAsync ( options : Tmux
Test ? , cancellationToken : CancellationOptions Token ) Task<TemporaryServer >Scope -
- Parameters
-
-
options ( Tmux
Test ? ) – How to reach tmux, or null for a socket of its own.Options -
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The scope owning the server.