Table of Contents

Interface IToastScheduler

Namespace
SharpConsoleUI.Core
Assembly
SharpConsoleUI.dll

Abstraction for scheduling a delayed callback used to auto-dismiss toasts.

public interface IToastScheduler
Extension Methods

Methods

Schedule(int, Action)

Schedules callback to run after delayMs milliseconds.

void Schedule(int delayMs, Action callback)

Parameters

delayMs int

The delay in milliseconds before invoking the callback.

callback Action

The callback to invoke after the delay.