Re: [whatwg/streams] Lookup methods in constructors (#860)

ricea commented on this pull request.



> @@ -1156,12 +1156,22 @@ function SetUpReadableStreamDefaultControllerFromUnderlyingSource(stream, underl
     return InvokeOrNoop(underlyingSource, 'start', [stream._readableStreamController]);
   }
 
-  function pullAlgorithm() {
-    return PromiseInvokeOrNoop(underlyingSource, 'pull', [stream._readableStreamController]);
+  // eslint-disable-next-line func-style

This worked, thanks. I chose to pass both stream and controller and still leave tying them together to SetUpXYZ().

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/860#discussion_r154358034

Received on Friday, 1 December 2017 14:31:20 UTC