Subscribe to object updates. The callback is called synchronously when the object is modified. Only accepts reactive objects (not snapshots).
Unsubscribe function.
O(1) listener registration; the callback runs synchronously after every committed change.
Subscribe to object updates. The callback is called synchronously when the object is modified. Only accepts reactive objects (not snapshots).