@dxos/echo
    Preparing search index...

    Function subscribe

    • Subscribe to relation updates. The callback is called synchronously when the relation is modified. Only accepts reactive relations (not snapshots).

      Parameters

      Returns () => void

      Unsubscribe function.

      O(1) listener registration; the callback runs synchronously after every committed change.