ReadableByteStreamController

E242825

ReadableByteStreamController is a Web Streams API interface that manages the internal state and data flow of a readable byte stream, including queuing, backpressure, and pulling data from an underlying source.

All labels observed (2)

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Readable stream controller
Web API interface
accessedVia controller parameter in underlying source callbacks
availableIn modern web browsers
backpressureMechanism uses desiredSize to indicate demand
cannotBeConstructedWith new ReadableByteStreamController() directly in user code
category Streams API controller interface
closeMethodEffect signals end-of-stream
controls underlying byte source
controlsFlowOf ArrayBufferView byte data
Uint8Array chunks
definedInSpecification WHATWG Streams Standard
enqueueMethodEffect adds a chunk to the internal queue
errorHandling propagates errors to associated ReadableStream
errorMethodEffect puts stream in errored state
exposedIn Window
Worker
Worklet
hasMethod byobRequest (getter)
close()
desiredSize (getter)
enqueue()
error()
language JavaScript
lifecycle created when a ReadableStream with type "bytes" is constructed
manages backpressure for readable byte streams
data flow of a readable byte stream
internal state of a readable byte stream
pulling data from an underlying byte source
queuing of byte chunks
partOf Web Streams API
platform Web platform
primaryRole coordinate producer-consumer flow for byte streams
property byobRequest
desiredSize
queueManagement maintains internal queue of byte chunks
relatedTo ReadableByteStreamController BYOB semantics
ReadableStreamDefaultController
standardizedBy WHATWG
supports backpressure signaling to underlying source
byte-oriented readable streams
usedBy underlyingSource.cancel() callback
underlyingSource.pull() callback
underlyingSource.start() callback
usedWith ReadableStream
ReadableStream of type bytes

How these facts were elicited

Referenced by (5)

Full triples — surface form annotated when it differs from this entity's canonical label.

Streams Standard definesConcept ReadableByteStreamController
ReadableStreamBYOBReader usedWith ReadableByteStreamController
ReadableStreamDefaultController relatedInterface ReadableByteStreamController
ReadableStreamBYOBRequest associatedWith ReadableByteStreamController
ReadableStreamBYOBRequest lifecycle ReadableByteStreamController
this entity surface form: created by ReadableByteStreamController