You pass it in, or use [`AsyncLocalStorage`](https://developers.cloudflare.com/workers/runtime-apis/

You pass it in, or use
AsyncLocalStorage
Cloudflare Docs
To use Node.js APIs in your Worker, add the nodejs_compat compatibility flag to your wrangler.toml file.
Was this page helpful?