Re: [whatwg/webidl] Add disposer and async_disposer (PR #1488)

@jasnell commented on this pull request.



> +{{%Symbol.dispose%}} operation.
+
+<pre highlight="webidl" class="syntax">
+    interface interface_identifier {
+      disposer;
+    };
+</pre>
+
+Prose accompanying the interface must define the <dfn id="dfn-disposal-behavior">disposal behavior</dfn>
+of the interface.
+
+On a given [=interface=], there must exist at most one disposer.
+
+<h4 id="idl-async-disposers">Async Disposers</h4>
+
+When an [=interface=] has a <dfn id="dfn-async-disposer">async_disposer</dfn>, it indicates that objects

```suggestion
When an [=interface=] has an <dfn id="dfn-async-disposer">async_disposer</dfn>, it indicates that objects
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1488#pullrequestreview-2852040429
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1488/review/2852040429@github.com>

Received on Monday, 19 May 2025 21:32:18 UTC