method libtmux-dotnet latest
TmuxTestFactory.CreateHierarchyAsync
Starts a server, session, window, and pane a test can type into.
Source and package
- Module
- LibTmux.Testing
- Declared in
- TmuxTestFactory
- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxTestFactory.cs
- CreateHierarchyAsync ( options : Tmux
Test ? , cancellationToken : CancellationOptions Token ) Task<TemporaryHierarchy >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 all four.
Discussed in Ownership and cleanup