Module

Node.Coroutines

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

#readable Source

readable :: forall aff p. 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 aff p a. MonadAff aff => Encoding -> Writable p -> Consumer String aff a

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