Module
Node.Stream.Aff.Internal
- Package
- purescript-node-streams-aff
- Repository
- jamesdbrock/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'.
#writeStreamClose Source
writeStreamClose :: forall w. Writable w -> Effect Unit -> Effect Unit
The writeStream.close([callback])
function.
Accepts a callback that will be executed once the writeStream is closed.