@dxos/echo
    Preparing search index...

    Variable CursorAnnotationConst

    CursorAnnotation: Annotation.Annotation<Feed.Cursor> = ...

    Annotation holding a reader's position in a feed — the cursor it has consumed up to.

    An annotation rather than a @meta foreign key: a key identifies the same entity in another system, which a checkpoint is not.

    const cursor = Annotation.get(reader, Feed.CursorAnnotation).pipe(Option.getOrElse(() => Feed.START));
    Obj.update(reader, (reader) => Annotation.set(reader, Feed.CursorAnnotation, Feed.getCursor(item)!));