Table of Contents

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

window Window

The window instance.

cancellationToken CancellationToken

Token to signal cancellation when the window closes.

Returns

Task

A task representing the async operation.