Module
Concurrent.Channel.Stream
- Package
- purescript-channel-stream
- Repository
- ConnorDillon/purescript-channel-stream
#streamInput Source
streamInput :: forall a. Readable a -> Effect (Input Buffer)Creates a new Input with a provided readable Stream as backend.
#streamOutput Source
streamOutput :: forall a. Writable a -> Effect (Output Buffer)Creates a new Output with a provided writable Stream as backend.
Re-exports from Concurrent.Channel
#Input Source
newtype Input aAn Input is a wrapper around a function that receive values from a Channel.
Constructors
Instances
- Modules
- Concurrent.
Channel. Stream
Will try to send to the first
Outputand if it is closed, then to the second.