mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* 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>
455 B
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.