Properties
Private
Readonly
add
add: ((state, value) => State)
Type declaration
-
- (state, value): State
-
Returns State
Private
Readonly
del
del: ((state, oldValue) => State)
Type declaration
-
- (state, oldValue): State
-
Parameters
-
state: State
-
oldValue: In
Returns State
Private
Readonly
ret
ret: ((state) => Return)
Type declaration
-
- (state): Return
-
Returns Return
Private
state
state: State
Private
Readonly
update
update: ((state, oldValue, newValue) => State)
Type declaration
-
- (state, oldValue, newValue): State
-
Parameters
-
state: State
-
oldValue: In
-
newValue: In
Returns State
An aggregate index that folds over the change events it receives.
The time and memory complexity of this index completely depends on the complexities of the functions passed to it.
See
foldIndex as a constructor.