PopClip JavaScript API Reference
    Preparing search index...

    Function setTimeout

    • Calls a function after at least the given delay in milliseconds, following the Web API setTimeout in the form declared here (there is no extra-arguments form).

      See also sleep, a promise-based wrapper around this.

      Parameters

      • handler: () => void
      • OptionaltimeoutMilliseconds: number

      Returns number

      An id that may be passed to clearTimeout.