Special variant of change detection that compares against an accumulated state.
Evaluates changes between the two given values, and constructs a change detection event instance based on the evaluation output.
The output in the "changes" object will consist of all the values that have changed when transitioning from 'baseObj' to 'obj', and the plucked values will match the ones in 'obj'.
Convenience for running change detection on a map state change event and storing the results in the event. This is implemented as an optional utility since change detection might not be necessary in some cases, and can be quite expensive to run.
filter by entity primary key
filter by a set of entity primary keys
Returns true if the given value is a valid detection type, except for the NO_CHANGE type. (i.e. any type that indicates state mutation has occurred)
filter by map change event types (useful if you only want to watch ADD or UPDATE changes)
map change events to their corresponding entity update differences (will be a partial entity object)
map change events to their corresponding entity value
Narrows the scope of raw map change events into property-specific events.
Variant of filter() that uses a Set to increase lookup speed when checking emissions for a single property value. NOTE: this variant is top-heavy, and more expensive on smaller value lists; only use this when the 'values' collection can become large.
capture emitted values and store them in the provided map reference by side-effect
capture emitted values and store them in the provided map reference by side-effect
Generated using TypeDoc
Emits change detection diffs between each emission and the one previous of it. NOTE: if the detection result type is NO_CHANGE, then the emission will be dropped.