libtmux Reference MCP Search
On this page

LibTmux.Testing.TmuxNameGenerator.CreateAvailableSessionNameAsync

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.