Skip to content

@ralphschuler.ai function caller.index.<internal>.UnderlyingSource

github-actions edited this page Nov 26, 2023 · 1 revision

Interface: UnderlyingSource<R>

index.<internal>.UnderlyingSource

An underlying source for constructing a ReadableStream.

Type parameters

Name Type
R any

Table of contents

Properties

Properties

cancel

Optional cancel: UnderlyingSourceCancelCallback

A function that is called whenever the consumer cancels the stream, via stream.cancel(), defaultReader.cancel(), or byobReader.cancel(). It takes as its argument the same value as was passed to those methods by the consumer.

Defined in

node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:631


pull

Optional pull: UnderlyingSourcePullCallback<R>

A function that is called whenever the stream’s internal queue of chunks becomes not full, i.e. whenever the queue’s desired size becomes positive. Generally, it will be called repeatedly until the queue reaches its high water mark (i.e. until the desired size becomes non-positive).

Defined in

node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:623


start

Optional start: UnderlyingSourceStartCallback<R>

A function that is called immediately during creation of the ReadableStream.

Defined in

node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:617


type

Optional type: undefined

Defined in

node_modules/formdata-node/node_modules/web-streams-polyfill/types/ponyfill.d.ts:632

Typescript Libraries

Modules

Namespaces

Clone this wiki locally