W3C home > Mailing lists > Public > public-media-capture@w3.org > September 2017

[mediacapture-record] Promise version of requestData?

From: Kagami Sascha Rosylight via GitHub <sysbot+gh@w3.org>
Date: Mon, 11 Sep 2017 08:28:48 +0000
To: public-media-capture@w3.org
Message-ID: <issues.opened-256620596-1505118518-sysbot+gh@w3.org>
SaschaNaz has just created a new issue for https://github.com/w3c/mediacapture-record:

== Promise version of requestData? ==
Currently an author has to add an event listener first and then call `requestData` to get the recorded blob. I think its use can be easier if it returns a Promise that resolves when the data becomes available.

It currently unfortunately throws synchronously so it probably cannot return Promise as it is. What do you think?

Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/137 using your GitHub account
Received on Monday, 11 September 2017 08:28:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 11 September 2017 08:28:42 UTC