tc39 / proposal-mass-proxy-revocation

Proposal for revoking proxies en masse.
MIT License
5 stars 1 forks source link

Relation to the Cancellation Proposal, AbortController, etc. #13

Open rbuckton opened 2 years ago

rbuckton commented 2 years ago

I'm curious what the relation between this and the Cancellation Proposal and AbortController might be. I just opened a new issue at https://github.com/tc39/proposal-cancellation/issues/31 regarding a host-hook based mechanism to leverage cancellation in ECMA-262 without depending directly on AbortController. The goal is to move some of the essential algorithm steps from the DOM AbortController/AbortSignal into ECMA-262, while using host hooks for initialization and propagation, allowing an end user to use an AbortController (or anything else the Host provides) for these tasks, while still allowing us to specify behavior in ECMA-262.

ajvincent commented 2 years ago

I'm going to defer to @bmeck on this one...

ajvincent commented 2 years ago

Bradley is apparently removed from service, per SES. So I can't defer to him any longer.

I'm certainly willing to coordinate my proposal with yours, and/or alter mine to depend on yours. I haven't followed any news on the cancellation proposal.

I am very concerned that the cancellation proposal has not had any commits in five years. If my proposal depends on a proposal that isn't going anywhere, then my proposal won't go anywhere either...

Basically, I'm willing to take any useful input or feedback into this proposal that people can offer.