W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2020

[webrtc-pc] Pull Request: Have update negotiation-needed steps return a promise

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Mon, 09 Mar 2020 21:12:14 +0000
To: public-webrtc-logs@w3.org
Message-ID: <pull_request.opened-385820924-1583788333-sysbot+gh@w3.org>
jan-ivar has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== Have update negotiation-needed steps return a promise ==
The [update the negotiation-needed flag](https://w3c.github.io/webrtc-pc/#dfn-update-the-negotiation-needed-flag) algorithm says to: _"queue a task to [chain](https://w3c.github.io/webrtc-pc/#dfn-chain) the following steps to connection's operations chain:"_.

The steps therefore need to return a promise, because the [chain](https://w3c.github.io/webrtc-pc/#dfn-chain) function expects it (_"Upon fulfillment or rejection of the promise returned by the operation, run the following steps"_).


See https://github.com/w3c/webrtc-pc/pull/2488
Received on Monday, 9 March 2020 21:12:16 UTC

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