Timeout.this

Creates a new timeout cycle with the default priority, GPriority.DEFAULT.

Note that timeout functions may be delayed, due to the processing of other event sources. Thus they should not be relied on for precise timing. After each call to the timeout function, the time of the next timeout is recalculated based on the current time and the given interval (it does not try to 'catch up' time lost in delays).

Parameters

interval uint

the timeout in milieconds delegate() = the delegate to be executed

fireNow bool

When true the delegate will be executed emmidiatly