Node JS's ClearImmediate is used to clear a schedule returned by SetImmediate. SetImmediate schedules the "immediate" execution of the callback after I/O events' callbacks and before timers created using setTimeout() and setInterval() are triggered.
Questions tagged [clearimmediate]
1 questions
1
vote
2 answers
Why am I getting the error clearImmediate is not defined?
i am trying to make an infinitive loop that stops when the video is uploaded. The function works fine, however to stop the loop does not seem to work. The error I get is:
clearImmediate is not defined
this is the loop i am trying to…

Ewald Bos
- 1,560
- 1
- 20
- 33