Table of Contents

Method StopAll

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

StopAll()

Stops and removes all timed events.

void StopAll()

Remarks

Removes all queued timeout occurrences and prevents callbacks that are active when this method is called from rescheduling. It does not interrupt callbacks already executing. Timeouts added after the cancellation takes effect are unaffected, including a reused Timeout instance. A concurrent Add(TimeSpan, Func<bool>) or Add(Timeout) call can be ordered before or after the cancellation.