mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +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>
15 lines
455 B
Markdown
15 lines
455 B
Markdown
## 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.
|