BodyReaderOptions
Defined in: packages/format-core/src/body-reader.ts:4
Construction options for BodyReader.
Methods
Section titled “Methods”onBackpressure()
Section titled “onBackpressure()”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.
Parameters
Section titled “Parameters”paused
Section titled “paused”boolean
Returns
Section titled “Returns”void