Javascript Flow Control
summary
Shows concrete behavior differences between process.nextTick setImmediate and setTimeout with code and a repo of examples the talk demonstrates a continuous compute server that blocks until replaced with setImmediate, reproduces a stack overflow with deep recursion and the V8 error message, and contrasts a synchronous constructor emitting events with an alternate constructor that defers initialization via process.nextTick so listeners catch events reliably it also runs microbenchmarks show setImmediate faster in some cases and explains when each tool actually works
AI-written summary · about
chapters (8)
- 0:00Intro
- 1:00Why I gave this talk
- 1:23SetImmediate
- 2:14Other IO Events
- 2:28Stack Overflows
- 3:58Continuous Compute
- 6:42ProcessNextTick
- 9:25Why use this








