Liking cljdoc? Tell your friends :D

web.WritableStreamDefaultWriter

The WritableStreamDefaultWriter interface of the the Streams is the object returned by web.WritableStream.getWriter() and created locks the < writer to the WritableStream ensuring that other streams can write to the underlying sink.

The WritableStreamDefaultWriter interface of the the Streams
is the object returned by `web.WritableStream.getWriter()` and
created locks the < writer to the WritableStream ensuring that
other streams can write to the underlying sink.
raw docstring

abortcljs

(abort this reason)

Method.

The abort() method of the web.WritableStreamDefaultWriter interface the stream, signaling that the producer can no longer successfully to the stream and it is to be immediately moved to an error state, any queued writes discarded.

Promise<reason> writableStreamDefaultWriterInstance.abort(reason);

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/abort

Method.

The abort() method of the `web.WritableStreamDefaultWriter` interface
the stream, signaling that the producer can no longer successfully
to the stream and it is to be immediately moved to an error state,
any queued writes discarded.

`Promise<reason> writableStreamDefaultWriterInstance.abort(reason);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/abort`
sourceraw docstring

closecljs

(close this)

Method.

The close() method of the web.WritableStreamDefaultWriter interface the associated writable stream.

Promise<undefined> writableStreamDefaultWriterInstance.close();

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/close

Method.

The close() method of the `web.WritableStreamDefaultWriter` interface
the associated writable stream.

`Promise<undefined> writableStreamDefaultWriterInstance.close();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/close`
sourceraw docstring

closedcljs

(closed this)

Property.

The closed getter property of the web.WritableStreamDefaultWriter returns a promise that fulfills if the stream becomes closed the writer's lock is released, or rejects if the stream errors.

var closed = writableStreamDefaultWriterInstance.closed;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/closed

Property.

The closed getter property of the `web.WritableStreamDefaultWriter`
returns a promise that fulfills if the stream becomes closed
the writer's lock is released, or rejects if the stream errors.

`var closed = writableStreamDefaultWriterInstance.closed;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/closed`
sourceraw docstring

constructorcljs

Constructor.

The WritableStreamDefaultWriter() constructor creates a new web.WritableStreamDefaultWriter object instance.

stream \tThe web.WritableStream to be written to.

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/WritableStreamDefaultWriter

Constructor.

The WritableStreamDefaultWriter() constructor creates a new `web.WritableStreamDefaultWriter` object instance.

stream
\tThe `web.WritableStream` to be written to.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/WritableStreamDefaultWriter`
sourceraw docstring

desired-sizecljs

(desired-size this)

Property.

The desiredSize getter property of the web.WritableStreamDefaultWriter returns the desired size required to fill the stream's internal

var desiredSize = writableStreamDefaultWriterInstance.desiredSize;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/desiredSize

Property.

The desiredSize getter property of the `web.WritableStreamDefaultWriter`
returns the desired size required to fill the stream's internal

`var desiredSize = writableStreamDefaultWriterInstance.desiredSize;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/desiredSize`
sourceraw docstring

readycljs

(ready this)

Method.

The ready getter property of the web.WritableStreamDefaultWriter returns a web.Promise that resolves when the desired size of stream's internal queue transitions from non-positive to positive, that it is no longer applying backpressure.

var promise = defaultWriter.ready

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/ready

Method.

The ready getter property of the `web.WritableStreamDefaultWriter`
returns a `web.Promise` that resolves when the desired size of
stream's internal queue transitions from non-positive to positive,
that it is no longer applying backpressure.

`var promise = defaultWriter.ready`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/ready`
sourceraw docstring

release-lockcljs

(release-lock this)

Method.

The releaseLock() method of the web.WritableStreamDefaultWriter releases the writer's lock on the corresponding stream. After lock is released, the writer is no longer active. If the associated is errored when the lock is released, the writer will appear in the same way from now on; otherwise, the writer will appear

writableStreamDefaultWriterInstance.releaseLock()

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/releaseLock

Method.

The releaseLock() method of the `web.WritableStreamDefaultWriter`
releases the writer's lock on the corresponding stream. After
lock is released, the writer is no longer active. If the associated
is errored when the lock is released, the writer will appear
in the same way from now on; otherwise, the writer will appear

`writableStreamDefaultWriterInstance.releaseLock()`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/releaseLock`
sourceraw docstring

set-closed!cljs

(set-closed! this val)

Property.

The closed getter property of the web.WritableStreamDefaultWriter returns a promise that fulfills if the stream becomes closed the writer's lock is released, or rejects if the stream errors.

var closed = writableStreamDefaultWriterInstance.closed;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/closed

Property.

The closed getter property of the `web.WritableStreamDefaultWriter`
returns a promise that fulfills if the stream becomes closed
the writer's lock is released, or rejects if the stream errors.

`var closed = writableStreamDefaultWriterInstance.closed;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/closed`
sourceraw docstring

set-desired-size!cljs

(set-desired-size! this val)

Property.

The desiredSize getter property of the web.WritableStreamDefaultWriter returns the desired size required to fill the stream's internal

var desiredSize = writableStreamDefaultWriterInstance.desiredSize;

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/desiredSize

Property.

The desiredSize getter property of the `web.WritableStreamDefaultWriter`
returns the desired size required to fill the stream's internal

`var desiredSize = writableStreamDefaultWriterInstance.desiredSize;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/desiredSize`
sourceraw docstring

writecljs

(write this chunk)

Method.

The write() property of the web.WritableStreamDefaultWriter writes a passed chunk of data to a web.WritableStream and its sink, then returns a web.Promise that resolves to indicate success or failure of the write operation.

Promise<> = defaultWriter.write(chunk)

See also: https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/write

Method.

The write() property of the `web.WritableStreamDefaultWriter`
writes a passed chunk of data to a `web.WritableStream` and its
sink, then returns a `web.Promise` that resolves to indicate
success or failure of the write operation.

`Promise<> = defaultWriter.write(chunk)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/WritableStreamDefaultWriter/write`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close