kurrentdb 1.2.0

Official KurrentDB gRPC client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
fromAll()
.when({
	$init:function(){
		return {
			foo: {
				baz: {
					count: 0
				}
			}
		}
	},
	$any: function(state, event){
		state.foo.baz.count += 1;
	}
}).outputState()