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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.

Reply via email to