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
AbortController
and 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.readFile
which is multiple operations (we can cancel in between) but anfs.promises.read
is not discreetly cancellable.
- Make a list of all core APIs that can utilize
- Figure out how
util.promisify
should support cancellation, and if it does what that API should look like. - Figure out how to have good/debuggable
AbortError
s when things go wrong.
Metadata
Metadata
Assignees
Labels
No labels