Events
Rich-Harris opened this issue · comments
Rich Harris commented
Statesman instances (Statesmen?) should emit events when data changes. Some useful events:
- set
- change
- delete/remove
Rich Harris commented
Events are now supported (Statesman instances have on
, once
, off
and fire
methods, and setting data causes set
and set:keypath
events to be emitted). Going to keep this issue open as there are other evens it would be good to emit by default