3box-js
3box-js copied to clipboard
Add onUpdate method
Add a method to the KeyValueStore to add a function that get's called whenever the underlying orbitdb store get's an update from another peer.
Was considering using the EventEmitter interface, but that seems a bit overkill.