Table of Contents

Method CheckTimers

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

CheckTimers(out int)

Determines whether any timeout is queued and calculates how long the caller may wait before the earliest one is due.

public bool CheckTimers(out int waitTimeout)

Parameters

waitTimeout int

The number of milliseconds until the earliest queued timeout is due, 0 if one is already due, or -1 if no timeout is queued. -1 indicates the caller may wait indefinitely.

Returns

bool

true if at least one timeout is queued; otherwise, false.

Remarks

A timeout whose callback is currently executing has been dequeued and is therefore not counted.