Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

TmuxNameGenerator.CreateAvailableSessionNameAsync

Namespace LibTmux.Testing.TmuxNameGenerator.CreateAvailableSessionNameAsync LibTmux.Testing

Makes a session name the server does not already hold.

View as Markdown

Source and package
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]
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.

Esc

Type to search.