You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Resolves when transport is closed due to a failure/errror or stop() being called on// the remote side. Both of these mean a CONNECTION_CLOSE frame.readonlyattributePromise<RTCQuicTransportStopInfo>transportClosed;// Resolves when transport becomes connected.readonlyattributePromise<void>transportConnected;
Without doing this or at least having an onstopped specific event for the Transport, the following PR isn't really useful:
I would prefer not to add another onstopped specific event (now we again have two potential events that can fire for one event occurring). This would also fix issue 42, which fires two events for receiving an error (onstatechange connected-->failed & onerror).
The text was updated successfully, but these errors were encountered:
The state for the RTCQuicStream has been updated, but what about the RTCQuicTransport? The event currently fires for the following asynchronous cases:
Why not use a Promise and remove the event because these are fire once events?
https://developers.google.com/web/fundamentals/primers/promises#events_arent_always_the_best_way
Without doing this or at least having an onstopped specific event for the Transport, the following PR isn't really useful:
I would prefer not to add another onstopped specific event (now we again have two potential events that can fire for one event occurring). This would also fix issue 42, which fires two events for receiving an error (onstatechange connected-->failed & onerror).
The text was updated successfully, but these errors were encountered: