Should `StableSocket` just extend `EventTarget`
未关闭
- 主要语言
- TypeScript
- 星标
- 143
- 派生
- 18
- 平均合并
- 7 小时 55 分钟
- 30 天内合并 PR
- 2
描述
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.
贡献指南
评估
这个 Issue 还没有评估数据。