ScopedValue API
Peter Firmstone
peter.firmstone at zeus.net.au
Wed Jan 22 03:07:31 UTC 2025
Just wanted to say, I've been experimenting with replacing ThreadLocal
with ScopedValue, this is a great new API, I love the way ScopedValue
uses recursion, we can have multiple immutable instances representing a
scoped value for a short period and we're not worried about managing
state as it goes out of scope as soon as it's no longer in use.
Cheers,
Peter.
More information about the core-libs-dev
mailing list