Disposing scope() for async
bryevdv opened this issue · comments
#362 added a scope
that can automatically dispose of intermediate values created within the scope, including nested usage. But currently, scope
only supports immediate returns. More work is needed to correctly handle async cases, probably making use of AsyncLocalStorage
to maintain a per-context stack.