Overview
Index-watch-rule contracts, registry, and default recursive/non-recursive watch rules.
API Reference
Predicate contract for deciding whether nested indexes should be watched.
export interface IIndexWatchRule {
context: unknown;
test(index: unknown, target: unknown): boolean;
}import type { IIndexWatchRule } from '@rs-x/state-manager';2 members in this interface.
context: unknownType
unknown
test(
index: unknown,
target: unknown
): booleanParameters
Returns
boolean