automerge / automerge-swift

Swift language bindings presenting Automerge

Home Page:https://automerge.org/automerge-swift/documentation/automerge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Observable to Automerge.Document

heckj opened this issue · comments

For the purposes of syncing, it would be immensely useful to be able to get notifications from a Document instance when it was updated. For the simplest case, just a signal that "something changed" so that any observer can react - sync, inspect, gossip, etc.

Add ObservableObject conformance to the base Document type.