Safe Haskell | None |
---|---|
Language | Haskell2010 |
TODO(cblp, 2017-09-29) USet?
Documentation
updateAtSource :: (CmRDT payload op update, Clock m) => op -> m update Source #
Generate an update to the local and remote replicas.
Doesn't have sense if updateAtSourcePre
is false.
May or may not use clock.
updateDownstream :: CmRDT payload op update => update -> payload -> payload Source #
Apply an update to the payload. An invalid update must be ignored.