TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.14
Creates a new timeout source.
The source will not initially be associated with any GLib.MainContext and must be added to one with GLib.Source.attach before it will be executed.
The scheduling granularity/accuracy of this timeout source will be in seconds.
The interval given is in terms of monotonic time, not wall clock time. See GLib.get_monotonic_time.
the timeout interval in seconds
the newly-created timeout source
2.14
Creates a new timeout source.
The source will not initially be associated with any GLib.MainContext and must be added to one with GLib.Source.attach before it will be executed.
The scheduling granularity/accuracy of this timeout source will be in seconds.
The interval given is in terms of monotonic time, not wall clock time. See GLib.get_monotonic_time.