Files: 8c0347d8e7f88171cd4c45eec22b42c5c7332fac / util / abort-cb.js
131 bytesRaw
1 | module.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
1 | module.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