rapidsai / node

GPU-accelerated data science and visualization in node

Home Page:https://rapidsai.github.io/node/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.