- public uint add (uint interval, owned SourceFunc function, int priority = DEFAULT)
- public uint add_full (int priority, uint interval, owned SourceFunc function)
Sets a function to be called at regular intervals, with the given priority.
- public uint add_once (uint interval, SourceOnceFunc function)
Sets a function to be called after interval
milliseconds have
elapsed, with the default priority, g_priority_default.
- public uint add_seconds (uint interval, owned SourceFunc function, int priority = DEFAULT)
- public uint add_seconds_full (int priority, uint interval, owned SourceFunc function)
Sets a function to be called at regular intervals, with priority
.
- public uint add_seconds_once (uint interval, SourceOnceFunc function)
This function behaves like
add_once but with a range in seconds.