Re: [streams] Byte stream update, including reference implementation (#361)

> @@ -0,0 +1,965 @@
> +const assert = require('assert');
> +import { CreateIterResultObject, InvokeOrNoop, PromiseInvokeOrNoop, typeIsObject } from './helpers';
> +
> +export default class ReadableByteStream {
> +  constructor(underlyingByteSource = {}) {
> +    this._state = 'readable';
> +    this._reader = undefined;
> +    this._storedError = undefined;
> +
> +    this._controller = undefined;
> +    this._controller = new ReadableByteStreamController(this, underlyingByteSource);
> +  }
> +
> +  cacnel(reason) {

Misnamed... probably would be caught by templated tests :)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/361/files#r33548867

Received on Tuesday, 30 June 2015 08:04:20 UTC