Should `StableSocket` just extend `EventTarget`
Open
- Dominant language
- TypeScript
- Stars
- 143
- Forks
- 18
- Avg merge
- 7h 55m
- Merged PRs (30d)
- 2
Description
It's a little un-idiomatic to use delegate objects as a "callback bag" in the Web Platform.
This could potentially, instead, use EventTarget, and emit events for each of the callbacks we have in the `delegate` object. This gives us a lot more flexibility with handling these lifecycle steps.
Contributor guide
Assessment
This issue has not been assessed yet.