Open
Description
This is IMO a much needed addition to the language, I love this proposal.
I wonder however if calling it AsyncContext
is the best way to go about it, given that it is also useful in sync contexts, and could replace the try{}finally{}
pattern described in the README in every situation.
While we're at it, given that this
is already the context in JS, another term may be less confusing. I know that React also uses context
for its dynamic scope construct, so there's also a precedent here... No strong opinions, just raising this in case we find something better.
Metadata
Metadata
Assignees
Labels
No labels