@dxos/echo
    Preparing search index...

    Function branchKey

    • The foreign key that puts an item on branch, for an item built with it in its meta (Obj.make(…, { [Obj.Meta]: { keys: [Feed.branchKey(branch)] } })); cheaper than setBranch, which opens a change on an item made without it.

      Parameters

      • branch: string & Brand<"@dxos/echo/Feed/BranchId">

      Returns { id: string; source: string }

      O(1).