Prelude API
    Preparing search index...

    Function after

    • Calls callback after milliseconds delay. Delays above the setTimeout maximum (2^31-1 ms) are honoured by chaining timers.

      Parameters

      • milliseconds: number

        Delay in milliseconds before callback is executed

      • callback: () => void

        Function to call after the delay

      Returns () => void

      Cancellation function that prevents the callback from being called