function WritableStreamDefaultControllerAbort(controller, reason) {
  controller._queue = [];

  const sinkAbortPromise = PromiseInvokeOrFallbackOrNoop(controller._underlyingSink, 'abort', [reason],
                                                         'close', [controller]);
  return sinkAbortPromise.then(() => undefined);
}
function WritableStreamDefaultControllerAbort(controller, reason) {
  controller._queue = [];

  const sinkAbortPromise = PromiseInvokeOrFallbackOrNoop(controller._underlyingSink, 'abort', [reason],
                                                         'close', [controller]);
  return sinkAbortPromise.then(() => undefined);
}
function WritableStreamDefaultControllerAbort ( controller , reason ) { controller . _queue = [ ] ; const sinkAbortPromise = PromiseInvokeOrFallbackOrNoop ( controller . _underlyingSink , 'abort' , [ reason ] , 'close' , [ controller ] ) ; return sinkAbortPromise . then ( ( ) => undefined ) ; }
Abstract operations implementing interface required by the WritableStream.
Abstract operations implementing interface required by the WritableStream .