Files
medusa-store/www/apps/docs/content/references/js-client/interfaces/internal-10.ReadableWritablePair.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

978 B

displayed_sidebar
displayed_sidebar
jsClientSidebar

Interface: ReadableWritablePair<R, W>

internal.ReadableWritablePair

Type parameters

Name Type
R any
W any

Properties

readable

readable: ReadableStream<R>

Defined in

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


writable

writable: WritableStream<W>

Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.

Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.

Defined in

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