You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
constd=newAsyncDisposableStack();d.defer(async()=>console.log(44));d.defer(async()=>console.log(43));d.defer(()=>newPromise(resolve=>setTimeout(()=>{console.log(42);resolve();},1e4)));awaitd.disposeAsync();// only after 10 seconds: 42, 43, 44
That looks strange - why are some resources that can be disposed immediately should wait for something if it can be done in parallel? In case of errors, the tree can be built in the end. However, yes, here is stack in the name...
That looks strange - why are some resources that can be disposed immediately should wait for something if it can be done in parallel? In case of errors, the tree can be built in the end. However, yes, here is
stackin the name...