diff --git a/src/env.h b/src/env.h index 5f8aece58c36db..350f6f2f1a3682 100644 --- a/src/env.h +++ b/src/env.h @@ -1177,7 +1177,8 @@ class Environment : public MemoryRetainer { } // cb will be called as cb(env) on the next event loop iteration. - // keep_alive will be kept alive between now and after the callback has run. + // Unlike the JS setImmediate() function, nested SetImmediate() calls will + // be run without returning control to the event loop, similar to nextTick(). template inline void SetImmediate(Fn&& cb); template