Table of Contents

Interface IApplicationAsyncDispatcher

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Optional awaitable dispatch capability for IApplication implementations.

public interface IApplicationAsyncDispatcher

Remarks

Implement this interface to make the InvokeAsync(IApplication, Action, CancellationToken) extension methods available on a custom application implementation without adding members to IApplication.

Methods

InvokeAsync(Action<IApplication>, SessionToken?, CancellationToken)

Runs an action on the application's UI thread and completes when the action returns.