TmuxTestFactory.CreateWindowAsync
Starts a server, a session, and a window, all owned by this test.
Source and package
- Qualified name
-
LibTmux .Testing .Tmux Test Factory. Create Window Async - Namespace
- LibTmux.Testing
- Declared in
TmuxTestFactory- Package
- LibTmux
- Source
- src/LibTmux.Testing/TmuxTestFactory.cs
- async Task<Temporary
Window > CreateWindowAsync( TmuxScope Test ? options = null, CancellationOptions Token cancellationToken = default )async Task<TemporaryWindow > CreateWindowAsync( Session session, TmuxScope Test ? options = null, CancellationOptions Token cancellationToken = default ) -
- Parameters
-
-
options(TmuxTest ?) – How to reach tmux, or null for a socket of its own. forOptions CreateWindowAsync(options, cancellationToken)Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux commands.Default
default -
session(Session) – The session to start it in. forCreateWindowAsync(session, options, cancellationToken) -
options(TmuxTest ?) – What to name it, or null for a name of its own. forOptions CreateWindowAsync(session, options, cancellationToken)Default
null
-
- Returns
-
The scope owning the window.
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.Testing.TmuxTestFactory.CreateWindowAsync.