- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 30 Jun 2015 01:50:30 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 30 June 2015 08:51:00 UTC
> + return; > + } > + > + const stream = controller._controlledReadableByteStream; > + > + if (typeof pullFunction !== 'function') { > + DestroyReadableByteStreamController(controller); > + ErrorReadableByteStream(stream, new TypeError('pull property of an underlying byte source must be a function')); > + return; > + } > + > + controller._callPullOrPullIntoLaterIfNeeded = false; > + controller._insideUnderlyingByteSource = true; > + > + try { > + pullFunction.apply(source); Nit: more idiomatic to use `.call` --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/361/files#r33552331
Received on Tuesday, 30 June 2015 08:51:00 UTC