RAGS - v1.10.0
    Preparing search index...

    Function timeout

    • Calls a callback once after a delay.

      Parameters

      • ms: number

        Delay in milliseconds

      • callback: () => void

        The function to call after the delay

      Returns number

      The GLib source ID

      timeout(500, () => console.log('delayed'));