Delegate Window.WindowThreadDelegateAsync
- Namespace
- SharpConsoleUI
- Assembly
- SharpConsoleUI.dll
Represents an asynchronous method that runs as the window's background task.
public delegate Task Window.WindowThreadDelegateAsync(Window window, CancellationToken cancellationToken)
Parameters
windowWindowThe window instance.
cancellationTokenCancellationTokenToken to signal cancellation when the window closes.
Returns
- Task
A task representing the async operation.