method libtmux-dotnet latest
TmuxTestFactory.CreateContextAsync
Starts a server this test owns, with its environment.
Source and package
- Module
- LibTmux.Testing
- Declared in
- TmuxTestFactory
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxTestFactory.cs
- CreateContextAsync ( options : Tmux
Test ? , cancellationToken : CancellationOptions Token ) Task<TmuxTest >Context -
- 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 context owning the server.