Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Testing.TmuxTestFactory.CreateSessionAsync

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
LibTmux.Testing
Declared in
TmuxTestFactory
Package
LibTmux
Source
src/LibTmux.Testing/TmuxTestFactory.cs
CreateSessionAsync ( options : TmuxTestOptions? , cancellationToken : CancellationToken ) → Task<TemporarySessionScope> ( server : Server , options : TmuxTestOptions? , cancellationToken : CancellationToken ) → Task<TemporarySessionScope>
methodasyncoverload2 overloads [source]
methodasyncoverload2 overloads [source]
CreateSessionAsync

Starts a server and a session in it, both owned by this test.

The server this makes is left to the session's own scope, which is a session on a server nobody else will kill.

Parameters
  • server ( Server ) – The server to start it on.

  • options ( TmuxTestOptions? ) – What to name it, or null for a name of its own.

  • cancellationToken ( CancellationToken ) – Cancels the tmux commands.

Returns

The scope owning the session.

0 declared, 0 inherited

Esc

Type to search.