Files: 7d0c918beaee414a6b11f020b51dfb097122ede0 / docs / 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