git ssb

2+

cel / scuttlebot.io



Tree: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493

Files: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493 / 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