Files: 0638fd964786330ea637fe10af73a9474d43493d / 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