James Snell
James Snell
James is on the Workers team @Cloudflare and a contributor to Node.js core. His contributions include features such as HTTP/2, the WHATWG URL implementation, and, most recently, an implementation of the QUIC protocol.
The Road to Async Context
Node Congress 2023Node Congress 2023
27 min
The Road to Async Context
The AsyncLocalStorage API is arguably one of the most important relatively recent additions to Node.js. Today we are seeing implementations being added to other runs such as workerd, deno, and bun. And there is an effort underway in TC-39 to introduce a new AsyncContext API to the language. This talk will introduce async context tracking with AsyncLocalStorage and AsyncContext and discuss how the model is evolving as it is being implemented across multiple platforms.