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

LibTmux.TmuxWaitChannel.WaitAsync

.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
Declared in
TmuxWaitChannel
Package
LibTmux
Source
src/LibTmux/Waiting/TmuxWaitChannel.cs
WaitAsync ( budget : TimeSpan , cancellationToken : CancellationToken ) → Task<bool>
methodasync [source]
methodasync [source]
WaitAsync

Waits for the signal, giving this attempt a budget.

Parameters
  • budget ( TimeSpan ) – How long this attempt may take.

  • cancellationToken ( CancellationToken ) – Abandons this attempt, not the waiter.

Returns

True when the channel was signalled, false when the budget ran out.

Discussed in Waiting and retrying

0 declared, 0 inherited

Esc

Type to search.