We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25cb855 commit daf601fCopy full SHA for daf601f
src/env.h
@@ -1177,7 +1177,8 @@ class Environment : public MemoryRetainer {
1177
}
1178
1179
// cb will be called as cb(env) on the next event loop iteration.
1180
- // keep_alive will be kept alive between now and after the callback has run.
+ // Unlike the JS setImmediate() function, nested SetImmediate() calls will
1181
+ // be run without returning control to the event loop, similar to nextTick().
1182
template <typename Fn>
1183
inline void SetImmediate(Fn&& cb);
1184
0 commit comments