Module
PhantomJS.Stream
- Package
- purescript-phantom
- Repository
- purescripters/purescript-phantom
This module defines types and functions for working with file streams.
#StreamSettings Source
#withSettings Source
withSettings :: FileMode -> Encoding -> StreamSettings
Helper for creating a StreamSettings type
#open Source
open :: forall e. FilePath -> StreamSettings -> PhantomFSAff e Stream
Open a file stream
#writeLine Source
writeLine :: forall e. Stream -> String -> PhantomFSAff e Unit
Write a line to a file stream