@dxos/echo
    Preparing search index...

    Function setDescription

    • Set the description of the object. Must be called within an Obj.update callback.

      NOTE: TypeScript's structural typing allows readonly objects to be passed to Mutable<T> parameters, so there is no compile-time error. Enforcement is runtime-only.

      Parameters

      • entity: { "~@dxos/echo/Kind": Object; id: string }
      • description: string

      Returns void

      O(1); writes the field named by the schema DescriptionAnnotation.