method libtmux-dotnet latest
TmuxWaitChannel.CloseAsync
Withdraws the waiter and ends its owned client lifetime.
Source and package
- Module
- LibTmux
- Declared in
- TmuxWaitChannel
- Package
- LibTmux
- Source
- src/LibTmux/Waiting/TmuxWaitChannel.cs
- CloseAsync ( cancellationToken : Cancellation
Token ) ValueTask -
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 ( Cancellation
Token ) – Ends the shared withdrawal attempt early.
-
- Returns
-
The shared close operation, including owned local cleanup.