Files: 11f0d082fcb805336ce40ead36918a2dc3cf4ee7 / sinks / drain.md
240 bytesRaw
pull-stream/sinks/drain
usage
drain = require('pull-stream/sinks/drain')
drain(op?, done?)
Drain the stream, calling op
on each data
.
call done
when stream is finished.
If op returns ===false
, abort the stream.
Built with git-ssb-web