git ssb

2+

cel / scuttlebot.io



Tree: 6df421c40b28e10fe7138c1519f7c78ebb52f470

Files: 6df421c40b28e10fe7138c1519f7c78ebb52f470 / tmpl / docs / advanced / feed-receive-time-sort.md

413 bytesRaw

Messages ordered by receive-time

var pull = require('pull-stream')
pull(
  sbot.createLogStream({ reverse: true }),
  pull.collect(function (err, msgs) { ... })
)
sbot log --reverse

The receive time of messages will differ for each user. The "log" stream's order will never be the same between two devices.

→ createLogStream API

Built with git-ssb-web