Documentation - v7.17.0
    Preparing search index...

    Function setInterval

    • Zone.js-safe wrapper for setInterval.

      Parameters

      • callback: () => void

        Function to invoke every delay milliseconds.

      • Optionaldelay: number

        Interval in milliseconds (defaults to 0).

      Returns number

      A TimeoutId that can be passed to clearInterval.