Re: [whatwg/webidl] Add a `disposer` keyword for disposal methods (Issue #1459)

dead-claudia left a comment (whatwg/webidl#1459)

> Why not have a single keyword and make the type depend on the return type? `async_` seems rather redundant with `Promise`.

I'm neutral either way. I just want to be able to do stuff like `using {signal} = new AbortController()`, so anything that accomplishes that goal (and isn't horribly inefficient) is good by me. 🙂

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1459#issuecomment-2891836070
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1459/2891836070@github.com>

Received on Monday, 19 May 2025 17:57:04 UTC