proposal-explicit-resource-management icon indicating copy to clipboard operation
proposal-explicit-resource-management copied to clipboard

Web API integration

Open littledan opened this issue 3 years ago • 4 comments

It is really great that the README here explains how it would make sense to integrate the disposal protocol into various web standards. Has the conversation with these web API maintainers begun, to get their point of view on this integration? Do we have any feedback from them here?

littledan avatar Sep 07 '22 11:09 littledan

No, it has not. At least, nothing outside of any issues that have been posted in this repo.

rbuckton avatar Sep 07 '22 21:09 rbuckton

I think, before Stage 3, this integration should be discussed in web standards bodies, e.g., by starting with an issue in the whatwg/html repository. The spec language on the web side would pretty simple, and I don't think we need to block on that (your listing of affected web APIs is already good enough), but I would like to come to a common understanding with web standards if they're happy to go in this direction. I believe this will give us relevant feedback on async disposal, in particular, since that is motivated partly by preventing a "conflation" that web APIs make now.

littledan avatar Sep 15 '22 03:09 littledan

I opened https://github.com/whatwg/html/issues/8557 to discuss this with WHATWG

rbuckton avatar Nov 28 '22 15:11 rbuckton

On a related note, I've also opened https://github.com/nodejs/node/issues/45658 to discuss adoption in NodeJS as well.

rbuckton avatar Nov 28 '22 15:11 rbuckton