W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2018

Re: [webrtc-pc] Semi-sync replaceTrack API pre-initial-negotiation is bizarre.

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Feb 2018 18:16:12 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-365011992-1518459371-sysbot+gh@w3.org>
Even if a promise is immediately resolved/rejected its then() executes asynchronously in the next task. I think a "sometimes partially synchronous" API with promise is unexpected and confusing. +1 to always queuing a task for observable effects.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1769#issuecomment-365011992 using your GitHub account
Received on Monday, 12 February 2018 18:16:45 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:43 UTC