Files
bun.sh/test/js/third_party/es-module-lexer/README.md
Jarred Sumner c6a3467625 Unified event loop (#3741)
* Unified event loop

* Update WebKit, add test for es-module-lexer

* Update README.md

* Use async wasm

* Explicitly set whether concurrenttask should be deinit'd

* Update package.json

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-07-22 04:31:58 -07:00

455 B

es-module-lexer test

The purpose of this test is to check that event loop tasks scheduled from JavaScriptCore (rather than Bun) keep the process alive.

The problem used to be that Bun may close prematurely when async work was scheduled by JavaScriptCore (rather than IO work).

At the time of writing, that list is:

  • WebAssembly compilation
  • Atomics

FinalizationRegistry is also scheduled by JSC, but that doesn't need to keep the process alive.