@dxos/echo
    Preparing search index...

    Function append

    • Appends items to a feed.

      Pass options.parent to soft-fork the feed: the first appended item continues from that item rather than from the feed's tip, so everything appended between the two becomes unreachable from history. Nothing is removed from the log.

      Parameters

      Returns Effect<void, never, Database.Service>

      yield* Feed.append(feed, [Obj.make(Notification, { title: 'Hello' })]);

      // Continue from an earlier item, leaving what followed it unreachable.
      yield* Feed.append(feed, [Obj.make(Notification, { title: 'Take two' })], { parent: earlier });

      Async; O(n) in items encoded and appended in one batch.