RAGS - v1.10.0
    Preparing search index...

    Variable idle

    idle: (callback: () => void, prio?: number) => number

    Type Declaration

      • (callback: () => void, prio?: number): number
      • Schedules a callback to run when the main loop is idle.

        Parameters

        • callback: () => void

          The function to call

        • prio: number = GLib.PRIORITY_DEFAULT

          GLib priority level (defaults to GLib.PRIORITY_DEFAULT)

        Returns number

        The GLib source ID