clazy
wait for the end of multiple asynchronous processing.
usage
var Clazy = var fs = var path = // lazyStream.add(stream)var lazyStream = lazyStream ; 'path/to/img1.jpg' 'path/to/img2.jpg' 'path/to/img3.jpg' // lazyStream.wait(function (clear) { ... })var lazyStream = lazyStream ;53412
api
var clazyStream =
create a new lazy stream. this stream is readable.
clazyStream
clazyStream issue the data when added stream
has ended (or finised).
the data is the order in witch they are registered clazyStream.
however, if the stream emit error, clazyStream will emit error.
clazyStream will emit end when all streams has ended (or finished).
clazyStream
License
MIT
author
ishiduca