Module

Node.StreamBuffer.Writable

Package
purescript-node-stream-buffers
Repository
cprussin/purescript-node-stream-buffers

#writable Source

writable :: forall eff. Eff (sb :: STREAM_BUFFER | eff) (Writable () (sb :: STREAM_BUFFER | eff))

Creates a writable stream buffer.

#contents Source

contents :: forall eff r. Encoding -> Writable r (sb :: STREAM_BUFFER | eff) -> Eff (sb :: STREAM_BUFFER | eff) String

Returns an effect containing the contents of a writable stream buffer, given an Encoding.