@dxos/echo
    Preparing search index...

    Function subscribe

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

      Parameters

      Returns () => void

      Unsubscribe function.

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