github / github/stable-socket

Should `StableSocket` just extend `EventTarget`

オープン
#6 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
143
フォーク
18
平均マージ
7時間 55分
マージ済み PR(30日)
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。