@dxos/echo
    Preparing search index...

    Function setIndexing

    • Sets the feed's indexing options on the feed object, in one change.

      Returns once the change is applied locally; the store stops indexing on its own index pass, which may run on another device.

      Parameters

      • feed: Feed.Feed
      • options: { enabled: boolean; mode?: "main" | "all" }
        • Readonlyenabled: boolean

          When false, the feed's items are not indexed at all; there is no partial mode.

        • Optional Readonlymode?: "main" | "all"

          Which branches the index holds: main (the default) or all. There is no selected subset. A feed whose items mutate objects keeps main; a feed of messages from people can index all.

      Returns Effect<void, SchemaError>

      yield* Feed.setIndexing(feed, { enabled: false });
      

      O(1); one object change.