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

791 B

displayed_sidebar
displayed_sidebar
jsClientSidebar

Interface: ReadableStreamGetReaderOptions

internal.ReadableStreamGetReaderOptions

Properties

mode

Optional mode: "byob"

Creates a ReadableStreamBYOBReader and locks the stream to the new reader.

This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.

Defined in

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