git ssb

3+

cel / ssb-npm-registry



Tree: d2f2697f296dd39aed6a8b63c6d04a736a7db5b3

Files: d2f2697f296dd39aed6a8b63c6d04a736a7db5b3 / node_modules / pull-stream / sources / infinite.js

201 bytesRaw
1'use strict'
2module.exports = function infinite (generate) {
3 generate = generate || Math.random
4 return function (end, cb) {
5 if(end) return cb && cb(end)
6 return cb(null, generate())
7 }
8}
9
10
11

Built with git-ssb-web