Module
Node.Stream.Aff.Internal
- Package
- purescript-node-streams-aff
- Repository
- purescript-deprecated/purescript-node-streams-aff
Maybe the stuff in here should be moved into the Node.Stream module?
#readable Source
readable :: forall r. Readable r -> Effect Boolean
The readable.readable
property of a stream.
Is true if it is safe to call
readable.read()
, which means the stream has not been destroyed or emitted'error'
or'end'
.
#newReadable Source
newReadable :: forall r. Effect (Readable r)
new stream.Readable()
#newReadableStringUTF8 Source
newReadableStringUTF8 :: forall r m. MonadEffect m => String -> m (Readable r)
Construct a UTF-8 Readable
from a String
.
#newStreamPassThrough Source
newStreamPassThrough :: forall m. MonadEffect m => m Duplex
“A trivial implementation of a Transform
stream that simply passes the
input bytes across to the output.”