-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Description
Hey,
James started a PR at #33527 and we're having a summit meeting in openjs-foundation/summit#273 regarding adding AbortController to core.
Other than checking out the code and testing it (please do) James listed some work items in that PR when I asked and I figured it would be nice to have a list of them here.
This list is mutable. While our process is typically that collaborators don't edit each other's posts - you are welcome to add/remove/edit this list (please do!) as you see fit:
- Core APIs:
- Make a list of all core APIs that can utilize
AbortControllerand see where it makes sense. - API bikeshedding for core APIs.
- Make a list of APIs where cancellation is possible with libuv. One example is
fs.promise.readFilewhich is multiple operations (we can cancel in between) but anfs.promises.readis not discreetly cancellable.
- Make a list of all core APIs that can utilize
- Figure out how
util.promisifyshould support cancellation, and if it does what that API should look like. - Figure out how to have good/debuggable
AbortErrors when things go wrong.
himself65, wa-Nadoo and ptomato
Metadata
Metadata
Assignees
Labels
No labels