Skip to content

BodyReaderOptions

Defined in: packages/format-core/src/body-reader.ts:4

Construction options for BodyReader.

onBackpressure(paused): void

Defined in: packages/format-core/src/body-reader.ts:11

Called with true when the body’s internal queue is full and upstream delivery should pause, and false when the consumer has pulled and upstream may resume. A body reader has no transport of its own — this is how it reaches back to whichever one is feeding it.

boolean

void