How to use the live function from pull-stream

Find comprehensive JavaScript pull-stream.live code examples handpicked from public code repositorys.

135
136
137
138
139
140
141
142
143
144
var liveStream = module.exports = function (db, opts) {
  var ts
  opts = opts || {}
  opts.tail = opts.tail !== false
  if(opts.old === false)
    return toStream(null, pull.live(db, opts))

  opts.onSync = function () {
    ts.emit('sync')
  }
fork icon2
star icon3
watch icon3

+ 5 other calls in file