4 ms·
I'm pretty sure they were talking about AsyncLocal<T>, which is not quite the same as ThreadLocal (values are persisted even when an async flow transitions acro
by jcparkyn 3y ago
I'm pretty sure they were talking about AsyncLocal<T>, which is not quite the same as ThreadLocal (values are persisted even when an async flow transitions across).
- klysm 3y agoYes it’s different but conceptually similar in the sense of ambient execution context. I prefer implicit variables like scala has but it gets the job done in C#.