Launch a function in a certain amount of time If the delay argument is zero, the callback will be launched synchronously
delay
normalizedTimeoutCallback(callback, 1000);normalizedTimeoutCallback(callback, 0); // synchronous, without delay Copy
normalizedTimeoutCallback(callback, 1000);normalizedTimeoutCallback(callback, 0); // synchronous, without delay
Launch a function in a certain amount of time If the
delay
argument is zero, the callback will be launched synchronously