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

TmuxWaitChannel.CloseAsync

Namespace LibTmux.TmuxWaitChannel.CloseAsync LibTmux

Withdraws the waiter and ends its owned client lifetime.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxWaitChannel
Package
LibTmux
Source
src/LibTmux/Waiting/TmuxWaitChannel.cs
CloseAsync ( cancellationToken : CancellationToken ) → ValueTask
method [source]

Description#

Withdrawal has a one-second deadline. Cancellation or failed withdrawal leaves the remote registration unknown and is reported after local cleanup. Concurrent callers share this lifetime; cancelling one closes it for all.

Parameters
  • cancellationToken ( CancellationToken ) – Ends the shared withdrawal attempt early.

Returns

The shared close operation, including owned local cleanup.

Esc

Type to search.