Lilact
    Preparing search index...

    Function setTimeout

    • Creates a managed timeout timer.

      The signature matches the native setTimeout API. Additional arguments are passed to the callback when it executes.

      Parameters

      • callback: Function

        Function to execute after the delay.

      • Optionaldelay: number = 0

        Delay in milliseconds.

      • ...args: any[]

        Arguments passed to callback.

      Returns number

      Managed timeout ID.