Files: 6c5caa6f225a8f887bd50cc0ca3fe79876b24357 / 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