Scoped Values
摘要
After virtual threads and structured concurrency, scoped values are the third delivery from Project Loom. They are intended to replace the long-serving ThreadLocal variables and work better with virtual threads.