Что такое STIMMEDIATE против ClearImmediate
var immediateID = setImmediate(function);
// The below code displays the alert dialog immediately.
var immediateId = setImmediate(
() => { alert('Immediate Alert');
}
Helpatoz Production