function WritableStreamAddWriteRequest(stream) {
    // assert(IsWritableStreamLocked(stream),
    //        '! IsWritableStreamLocked(writer) is true.');
    // assert((stream[_stateAndFlags] & STATE_MASK) === WRITABLE,
    //        'stream.[[state]] is "writable".');
    const promise = v8.createPromise();
    stream[_writeRequests].push(promise);
    return promise;
  }
// Writable Stream Abstract Operations Used by Controllers
Writable Stream Abstract Operations Used by Controllers
Writable Stream Abstract Operations Used by Controllers
function WritableStreamAddWriteRequest(stream) {
    const promise = v8.createPromise();
    stream[_writeRequests].push(promise);
    return promise;
  }
function WritableStreamAddWriteRequest ( stream ) { const promise = v8 . createPromise ( ) ; stream [ _writeRequests ] . push ( promise ) ; return promise ; }
Writable Stream Abstract Operations Used by Controllers
Writable Stream Abstract Operations Used by Controllers
// assert(IsWritableStreamLocked(stream), //        '! IsWritableStreamLocked(writer) is true.'); // assert((stream[_stateAndFlags] & STATE_MASK) === WRITABLE, //        'stream.[[state]] is "writable".');