Swap-Aggregator-Subgraph/node_modules/pull-stream/sources/empty.js
Richa-iitr d211083153 Revert "Revert "added handler""
This reverts commit c36ee8c5ca.
2022-07-03 07:30:05 +05:30

8 lines
135 B
JavaScript

'use strict'
//a stream that ends immediately.
module.exports = function empty () {
return function (abort, cb) {
cb(true)
}
}