mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
The workerd entry of @better-auth/core/async_hooks loaded node:async_hooks through a module-scope dynamic import. When workerd cancels the request that evaluates the module, that import never settles, and every later request in the isolate waits on it. workerd exposes AsyncLocalStorage only as the node:async_hooks module, not on globalThis, so the entry now imports it statically. Closes #10315