git ssb

2+

Dominic / pull-stream



Tree: b97db9e7ed0815998c76014c59a9bfb764eae06d

Files: b97db9e7ed0815998c76014c59a9bfb764eae06d / util / abort-cb.js

131 bytesRaw
1module.exports = function abortCb(cb, abort, onAbort) {
2 cb(abort)
3 onAbort && onAbort(abort === true ? null: abort)
4 return
5}
6
7

Built with git-ssb-web