Table of Contents

Method CreateTimer

Namespace
Terminal.Gui.Time
Assembly
Terminal.Gui.dll

CreateTimer(TimeSpan, Action)

Creates a timer that fires periodically.

public ITimer CreateTimer(TimeSpan interval, Action callback)

Parameters

interval TimeSpan

The interval between timer callbacks.

callback Action

The action to invoke when the timer fires.

Returns

ITimer

A timer instance that can be controlled.