Wow. You have explained it in an easy way. Thank you!
@pranjal11003 жыл бұрын
Thank you Zain, very well explained.
@sriharsha11504 жыл бұрын
At 4:07, can't we use setTimeout or setImmediate instead of process.nextTick to make fileSize function fully asynchronous? If so, why?
@ngochunglongnguyen45233 жыл бұрын
In this example, using process.nextTick() or setTimeout() will have the same result. But in some cases when you have another setTimeout(), process.nextTick() will be executed before setTimeout(). Because process.nextTick() will be invoked before next event loop tick starts while setTimeout() will be invoked at the end of the next tick.
@meslzyАй бұрын
thank you 💞
@andy_lamax3 жыл бұрын
People are so evil. 2.6k Views and only 24 subscribers for this gold, damn!!
@linqcodmax89654 жыл бұрын
Its really good explanation !!
@manushreemallaraju23692 жыл бұрын
Great explanation, thank you!
@andy_lamax3 жыл бұрын
Very very good explanation
@ankurgoel16383 жыл бұрын
what do u mean by nexttick...? only thing i didn't understand in so many tuts