--experimental-async-context-frame
稳定性: 1 - 实验性
启用由 AsyncContextFrame 支持的 AsyncLocalStorage,而不是依赖 async_hooks 的默认实现。这个新模型的实现方式非常不同,因此在应用中上下文数据的流动可能有所不同。因此,目前建议在将其用于生产环境之前,确保你的应用行为不会受到此更改的影响。
🌐 Enables the use of AsyncLocalStorage backed by AsyncContextFrame rather
than the default implementation which relies on async_hooks. This new model is
implemented very differently and so could have differences in how context data
flows within the application. As such, it is presently recommended to be sure
your application behaviour is unaffected by this change before using it in
production.