TypeScript API Documentation for SHELL
API Version: 51
Library Version: 51.0.0
Generated with TypeDoc via ts-for-gir v5.2.0
Creates a GLib.Source which is dispatched every time the system realtime clock changes relative to the monotonic clock.
This typically happens after NTP synchronisation.
On error, a GLib.FileError will be returned. This happens if a timerfd cannot be created.
Any callback attached to the returned GLib.Source must have type GLib.SourceFunc.
the newly created GLib.Source, or null on error
null
GLib.Error
Creates a GLib.Source which is dispatched every time the system realtime clock changes relative to the monotonic clock.
This typically happens after NTP synchronisation.
On error, a GLib.FileError will be returned. This happens if a timerfd cannot be created.
Any callback attached to the returned GLib.Source must have type GLib.SourceFunc.