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

LibTmux.Testing.TmuxNameGenerator.CreateAvailableSessionNameAsync

.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
TmuxNameGenerator
Package
LibTmux
Source
src/LibTmux.Testing/TmuxNameGenerator.cs
CreateAvailableSessionNameAsync ( server : Server , prefix : string? , cancellationToken : CancellationToken ) → Task<string>
methodasync [source]
methodasync [source]
CreateAvailableSessionNameAsync

Makes a session name the server does not already hold.

Parameters
  • server ( Server ) – The server to ask.

  • prefix ( string? ) – What the name starts with, or null for this generator's.

  • cancellationToken ( CancellationToken ) – Cancels the tmux commands.

Returns

The name.

0 declared, 0 inherited

Esc

Type to search.