Invert event loop

This commit is contained in:
2026-10-08 08:53:11 +00:00
parent c4d0bab3d9
commit 2f21347088
12 changed files with 142 additions and 33 deletions
+3 -2
View File
@@ -1,2 +1,3 @@
// Runs after the program: the event loop (see loop.js)
__run_loop();
// Runs after the program's top level: its microtasks. The host then runs
// the event loop (see loop.js)
__drain_microtasks();