You can use [`AsyncLocalStorage`](https://developers.cloudflare.com/workers/runtime-apis/nodejs/asyn

You can use AsyncLocalStorage to pass request-bound variables around "globally".
Cloudflare Workers provides an implementation of a subset of the Node.js AsyncLocalStorage API for creating in-memory stores that remain coherent
Was this page helpful?