| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2cb9f7a commit 11650c6
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1171,7 +1171,8 @@ class Environment : public MemoryRetainer { | |||
| 1171 | 1171 | } | |
| 1172 | 1172 | ||
| 1173 | 1173 | // cb will be called as cb(env) on the next event loop iteration. | |
| 1174 | - // keep_alive will be kept alive between now and after the callback has run. | ||
| 1174 | + // Unlike the JS setImmediate() function, nested SetImmediate() calls will | ||
| 1175 | + // be run without returning control to the event loop, similar to nextTick(). | ||
| 1175 | 1176 | template <typename Fn> | |
| 1176 | 1177 | inline void SetImmediate(Fn&& cb); | |
| 1177 | 1178 | template <typename Fn> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments