git ssb

2+

cel / scuttlebot.io



Tree: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493

Files: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493 / tmpl / docs / advanced / feed-send-time-sort.md

461 bytesRaw

Messages ordered by timestamp

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

Important note: message timestamps are set by the wall clock of the publisher, and may be incorrect. The "feed" stream should only be used when order is not important.

→ createFeedStream API

Built with git-ssb-web