Re: [webrtc-pc] Make RTCDtlsTransport.getRemoteCertificates asynchronous? (#2034)

I suggest having an internal slot that is updated in the same place(s) that [[DtlsTransportState]] is updated, and changing the getter into an attribute. This way all related state information is updated in the same place and we don't end up with chains of async ops where by the time you have piece of information B, piece of information A is no longer valid.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2034#issuecomment-441074413 using your GitHub account

Received on Thursday, 22 November 2018 16:11:46 UTC