- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 01 Jun 2016 14:25:16 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc:
Received on Wednesday, 1 June 2016 21:26:01 UTC
>
> - const normalizedStrategy = ValidateAndNormalizeQueuingStrategy(size, highWaterMark);
> - this._strategySize = normalizedStrategy.size;
> - this._strategyHWM = normalizedStrategy.highWaterMark;
> + return IsWritableStreamLocked(this);
> + }
> +
> + getWriter() {
> + if (IsWritableStream(this) === false) {
> + throw new TypeError('WritableStream.prototype.getWriter can only be used on a WritableStream');
> + }
> +
> + return AcquireWritableStreamDefaultWriter(this);
> + }
Although I know there is a thread on abort(), for now (not having looked at that thread in detail yet) I think we should keep abort() as a lock-abort-unlock, similar to how cancel() on readable streams is lock-cancel-unlock.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/462/files/17c3b10dc4243d1d75bb5d07e34397922652a275#r65445692
Received on Wednesday, 1 June 2016 21:26:01 UTC