Files: c94bab17e0c6d926909827c46b30a3411a9ada32 / 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