W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2014

[Bug 24445] New: [Streams API] The Promise returned by write() method should tell the result of the write()

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Jan 2014 04:22:56 +0000
To: public-webapps@w3.org
Message-ID: <bug-24445-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24445

            Bug ID: 24445
           Summary: [Streams API] The Promise returned by write() method
                    should tell the result of the write()
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Streams API
          Assignee: tyoshino@google.com
          Reporter: tyoshino@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

Currently, we're using the Promise returned by the write() method for pacing
write speed, i.e. just for flow control.

As we've changed the Streams API to be more generic one, correlating error and
each write() operation now is more meaningful.

We already have awaitSpaceAvailable(). Let's just leave the functionality of
flow control to it and have the Promise returned by the write() method be
fulfilled only when that write() operation is finished. Not when the
WritableStream can accept (buffer) more write() operations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 30 January 2014 04:22:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:21 UTC