Module

Web.Streams.ReadableStream

#ReadableStream

#new

new :: forall chunk. Source chunk -> Maybe (QueuingStrategy chunk) -> Effect (ReadableStream chunk)

#cancel

cancel :: forall chunk. ReadableStream chunk -> Effect (Promise Unit)

#locked

locked :: forall chunk. ReadableStream chunk -> Effect Boolean

#getReader

getReader :: forall chunk. ReadableStream chunk -> Effect (Reader chunk)

#tee

tee :: forall chunk. ReadableStream chunk -> Effect (Tuple (ReadableStream chunk) (ReadableStream chunk))

Modules