@dxos/echo
    Preparing search index...

    Function retainObjects

    • Drops every object in the space except the retained ones. Permanent.

      Parameters

      • keep: Iterable<string>

      Returns Effect<string[], never, Database.Service>

      Database.retainObjects

      O(1) delegation to the database; costs whatever the corresponding method costs.