Table of Contents

Method RemoveTimeout

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

RemoveTimeout(object)

Removes a previously scheduled timeout.

[Obsolete("The legacy static Application object is going away.")]
public static bool RemoveTimeout(object token)

Parameters

token object

The token returned by AddTimeout(TimeSpan, Func<bool>).

Returns

bool

true if the timeout is successfully removed; otherwise, false. This method also returns false if the timeout is not found.