Module

Web.Streams.ReadableStream

Package
purescript-web-streams
Repository
purescript-web/purescript-web-streams

#ReadableStream Source

#new Source

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

#cancel Source

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

#locked Source

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

#getReader Source

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

#tee Source

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