Interface ITimedEvents | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Manages timers and idles
public interface ITimedEvents
Properties
Returns all currently registered idles. May not include actively executing idles.
Returns the next planned execution time (key - UTC ticks) for each timeout that is not actively executing.
Methods
Adds specified idle handler function to main iteration processing. The handler function will be called once per iteration of the main loop after other events have been handled.
Adds a timeout to the application.
CheckTimersAndIdleHandlers(out int)
Called from Terminal.Gui.IMainLoopDriver.EventsPending() to check if there are any outstanding timers or idle handlers.
Runs all idle hooks
Runs all timeouts that are due
Removes an idle handler added with AddIdle(Func) from processing.
Removes a previously scheduled timeout
Events
Invoked when a new timeout is added. To be used in the case whenEndAfterFirstIteration is true.