get closed() {
    return this.closedResolver.promise;
  }
Returns a Promise that resolves when the Stream closes or is errored, or if
the reader releases its lock.
https://streams.spec.whatwg.org/#default-reader-closed
@return {!Promise<undefined>}
@override