Module

Node.Coroutines

Package
purescript-node-coroutines
Repository
paf31/purescript-node-coroutines

#readable Source

readable :: forall p aff. MonadAff aff => Encoding -> Readable p -> Producer String aff Unit

A Producer which produces Strings by reading them from some Readable stream.

#writable Source

writable :: forall a p aff. MonadAff aff => Encoding -> Writable p -> Consumer String aff a

A Consumer which consumes Strings by sending them to a Writable stream.