Table of Contents

Method GetTimeout

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

GetTimeout(object)

Gets the configured interval for a queued timeout occurrence associated with the specified token.

TimeSpan? GetTimeout(object token)

Parameters

token object

The token of the event.

Returns

TimeSpan?

The TimeSpan for a queued occurrence, or null if no queued occurrence is found. A callback can be actively executing when this method returns null; use Remove(object) to prevent an active repeating callback from rescheduling.