@keithamus I love your AbortController pattern for addEventListener in custom elements... do you happen to know if passing `signal` is on the cards for Intersection/Mutation Observer too?
-
@keithamus I love your AbortController pattern for addEventListener in custom elements... do you happen to know if passing `signal` is on the cards for Intersection/Mutation Observer too?
-
@ryantownsend Nothing I've seen to pass signals to those explicitly. Raising an issue to discuss would be a worthwhile.
Less specifically but related; https://github.com/WICG/observable/issues/72 seeks to understand how the `Observable` class (which does take signals) could integrate with the `[M|I|R]*Observer` classes.
Also semi-related: https://github.com/whatwg/dom/issues/1296 aims to encode this pattern as a standard
-
@keithamus already subscribed to both of those ️
Forgive my naivety but where should I raise an issue? It feels like there’s thousands of different working groups and Github repos and as a non-implementer it’s hard to know which I should be using.