Module readablestream

Source

StructsΒ§

CrossRealmTransformReadable πŸ”’
https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformreadable A wrapper to handle message and messageerror events for the port used by the transfered stream.
PipeTo πŸ”’
The β€œin parallel, but not really” part of https://streams.spec.whatwg.org/#readable-stream-pipe-to
ReadableStream πŸ”’
https://streams.spec.whatwg.org/#rs-class
SourceCancelPromiseFulfillmentHandler πŸ”’
The fulfillment handler for the reacting to sourceCancelPromise part of https://streams.spec.whatwg.org/#readable-stream-cancel.
SourceCancelPromiseRejectionHandler πŸ”’
The rejection handler for the reacting to sourceCancelPromise part of https://streams.spec.whatwg.org/#readable-stream-cancel.

EnumsΒ§

ControllerType πŸ”’
https://streams.spec.whatwg.org/#readablestream-controller
PipeToState πŸ”’
State Machine for PipeTo.
ReadableStreamState πŸ”’
https://streams.spec.whatwg.org/#readablestream-state
ReaderType πŸ”’
https://streams.spec.whatwg.org/#readablestream-readerr
ShutdownAction πŸ”’
https://streams.spec.whatwg.org/#rs-pipeTo-shutdown-with-action

ConstantsΒ§

_IMPL_DOMOBJECT_FOR_ReadableStream πŸ”’

FunctionsΒ§

create_readable_stream πŸ”’
https://streams.spec.whatwg.org/#create-readable-stream
get_read_promise_bytes πŸ”’
Get the value property of an object that a read promise resolved to.
get_read_promise_done πŸ”’
Get the done property of an object that a read promise resolved to.
get_type_and_value_from_message πŸ”’ ⚠
The initial steps for the message handler for both readable and writable cross realm transforms. https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformreadable https://streams.spec.whatwg.org/#abstract-opdef-setupcrossrealmtransformwritable