Files
medusa-store/www/apps/docs/content/references/js-client/interfaces/internal-10.WritableStream.md
github-actions[bot] daea35fe73 chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-10 17:47:07 +00:00

1.6 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Interface: WritableStream<W>

internal.WritableStream

This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.

MDN Reference

Type parameters

Name Type
W any

Properties

locked

Readonly locked: boolean

MDN Reference

Defined in

docs-util/node_modules/typescript/lib/lib.dom.d.ts:26022

Methods

abort

abort(reason?): Promise<void>

MDN Reference

Parameters

Name Type
reason? any

Returns

Promise<void>

Defined in

docs-util/node_modules/typescript/lib/lib.dom.d.ts:26024


close

close(): Promise<void>

MDN Reference

Returns

Promise<void>

Defined in

docs-util/node_modules/typescript/lib/lib.dom.d.ts:26026


getWriter

getWriter(): WritableStreamDefaultWriter<W>

MDN Reference

Returns

WritableStreamDefaultWriter<W>

Defined in

docs-util/node_modules/typescript/lib/lib.dom.d.ts:26028