www/lib/web-streams-polyfill/dist/ponyfill.js
// A client of ReadableStreamDefaultController may use these functions directly to bypass state check.
A client of ReadableStreamDefaultController may use these functions directly to bypass state check.
A client of ReadableStreamDefaultController may use these functions directly to bypass state check .
function ReadableStreamDefaultControllerClose(controller) {
        var stream = controller._controlledReadableStream;
        controller._closeRequested = true;
        if (controller._queue.length === 0) {
            ReadableStreamDefaultControllerClearAlgorithms(controller);
            ReadableStreamClose(stream);
        }
    }
function ReadableStreamDefaultControllerClose ( controller ) { var stream = controller . _controlledReadableStream ; controller . _closeRequested = true ; if ( controller . _queue . length === 0 ) { ReadableStreamDefaultControllerClearAlgorithms ( controller ) ; ReadableStreamClose ( stream ) ; } }
A client of ReadableStreamDefaultController may use these functions directly to bypass state check.
A client of ReadableStreamDefaultController may use these functions directly to bypass state check .