Commit ef4d081
src: simplify native immediate queue running
Make `SetImmediate()` behave more like `process.nextTick()`
(which matches how we use it) by also running tasks that have been
added during previous `SetImmediate()` calls.
PR-URL: #31502
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: David Carlier <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>1 parent 07525c3 commit ef4d081
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
688 | 688 | | |
689 | 689 | | |
690 | 690 | | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | 691 | | |
695 | 692 | | |
696 | 693 | | |
697 | | - | |
| 694 | + | |
| 695 | + | |
698 | 696 | | |
699 | 697 | | |
700 | 698 | | |
| |||
712 | 710 | | |
713 | 711 | | |
714 | 712 | | |
715 | | - | |
| 713 | + | |
716 | 714 | | |
717 | 715 | | |
718 | 716 | | |
| |||
0 commit comments