@dxos/echo
    Preparing search index...

    Function walk

    • Walks a feed along the path from the root branch to branch, in local order: a wrapper of the walk query, which reads the same as

      Database.query(
      Query.select(Filter.and(filter, Filter.feedCursor({ begin, positions: 'local' })))
      .from(Scope.feed(feedUri, { walk: { branch, forks } }))
      .orderBy(Order.natural(order))
      .limit(limit),
      );

      A forward walk gives each branch on the path up to the fork point of the next; a backward walk goes from begin (or the head of branch) back to the root base. Each item comes once, at the place of its first block on the path, with the content of its latest one. Resume with getLocalCursor of the last item of a page.

      Type Parameters

      Parameters

      Returns QueryResultEffect<Filter.Type<F>, never, Database.Service>

      O(1) to build; a page reads every block of the path.