delta-stream
Emit deltas in change over a stream
Data protocol
[key, value, sourceIdentifier, timestamp]
A delta-stream emits an array, where the first value is the key that has changed and the second value is the new value. This represents the delta in change on the object.
The third value is a source identifier. It's used to identify who created this delta
The fourth value is a time stamp which can be used for clever synchronization.
Example
Create deltas that handle changes in state. Then create stream reprensentations of deltas
var Delta =var delta1 =delta2 =var stream1 = delta1stream2 = delta2delta1delta2stream1delta1delta2
Almost Compatible modules [NEED TO BE REFACTORED]
Docs
Installation
npm install delta-stream
Contributors
- Raynos