[Bug 23790] New: Remove size argument from read() and introduce pullAmount attribute instead

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23790

            Bug ID: 23790
           Summary: Remove size argument from read() and introduce
                    pullAmount attribute instead
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            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

Now readExact() and read() are separate. It looks we should do further
refactoring to remove size (actually meant maxSize) argument from read() and
introduce pullAmount attribute instead.

NOTE: This name (pullAmount) is chosen rather than "bufferSize" since it can
have misleading message that we can control implementation detail of the
producer.

We supposed that most people don't want to manually control pull amount but
just want to use default value. So, the pulling amount parameter should be
provided as an attribute.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 11 November 2013 08:06:55 UTC