5 ms·
dgram & UDP sockets will happen, though honestly probably not until v0.7 We’ll likely do AsyncLocalStorage and make the rest of async_hooks a no-op. async_hook
by Jarred 4y ago
dgram & UDP sockets will happen, though honestly probably not until v0.7
We’ll likely do AsyncLocalStorage and make the rest of async_hooks a no-op. async_hooks are detrimental to event loop performance, but important for observability tooling. I think a better approach here is designing a more specific API for the top usecases
- stephen 4y agoAmazing. Getting just AsyncLocalStorage and the rest of async_hooks later / or not all would be great, as that's currently blocking us from bun. Really appreciate the pragmatic approach! (Instead of being dogmatic like "we just can't/won't deliver async_hooks unless its exactly right", so then it never happens.)