Name | Type | Description |
---|---|---|
ddpReactiveCollectionInstance |
ddpReactiveCollection |
Instance of @see ddpReactiveCollection class. |
reducer |
function |
Function for a reduction. |
initialValue |
* |
Initial value for a reduction function. |
Classes
Methods
-
Returns reactive reduce.
Returns:
Type Description Object - {result:reducedValue}
-
Forcibly reduces reactive data.
-
Runs a function every time a change occurs.
Name Type Description f
function Function which recieves a reduced value at each change.
-
Starts reactiveness for the reduced value of the collection. This method is being called on instance creation.
-
Stops reactiveness.