Callback wrapper for concat-stream providing errors. Simplifies converting a Readable stream into a node-style callback.
var concatStreamCallback =var write =writewritewrite
var fs =var concatStreamCallback =var readStream = fsvar writeStream =
This module leverages the power provided by Max Ogden's
concat-stream. All of
concat-stream's functionality is available (except instantiation with
it is recommended to avoid this).
var concatStreamCallback = ;
more example usage.
An optional Readable instance to attach error handlers to.
Optional options passed through to
Required callback which executes if
readable emits an
'error', or once after
the stream has been completely read.