Module
Node.Stream.Readable
- Package
- purescript-idiomatic-node-stream
- Repository
- bklaric/purescript-idiomatic-node-stream
#Readable Source
class (EventEmitter readable) <= Readable readable where
Members
readableHighWaterMark :: readable -> Effect Int
readableLength :: readable -> Effect Int
isPaused :: readable -> Effect Boolean
pause :: readable -> Effect readable
read :: Int -> readable -> Effect (Maybe Foreign)
resume :: readable -> Effect readable
pipe :: forall writable. Writable writable => writable -> Boolean -> readable -> Effect writable
unpipe :: forall writable. Writable writable => writable -> readable -> Effect Unit
setEncoding :: Encoding -> readable -> Effect readable
unshift :: Foreign -> readable -> Effect Unit
destroy :: Error -> readable -> Effect readable
#defaultReadableHighWaterMark Source
defaultReadableHighWaterMark :: forall readable. readable -> Effect Int
#defaultReadableLength Source
defaultReadableLength :: forall readable. readable -> Effect Int
#defaultIsPaused Source
defaultIsPaused :: forall readable. readable -> Effect Boolean
#defaultPause Source
defaultPause :: forall readable. readable -> Effect readable
#defaultResume Source
defaultResume :: forall readable. readable -> Effect readable
#defaultPipe Source
defaultPipe :: forall writable readable. Writable writable => writable -> Boolean -> readable -> Effect writable
#defaultUnpipe Source
defaultUnpipe :: forall writable readable. Writable writable => writable -> readable -> Effect Unit
#defaultSetEncoding Source
defaultSetEncoding :: forall readable. Encoding -> readable -> Effect readable
#defaultDestroy Source
defaultDestroy :: forall readable. Error -> readable -> Effect readable