TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.89.4
Generated with TypeDoc via ts-for-gir v5.2.0
Since 2.90
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 interval given is in terms of monotonic time, not wall clock time. See GLib.get_monotonic_time_ns.
the timeout interval in nanoseconds
the newly-created timeout source
2.90
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 interval given is in terms of monotonic time, not wall clock time. See GLib.get_monotonic_time_ns.