Overview
Index-watch-rule contracts, registry, and default recursive/non-recursive watch rules.
API Reference
Factory contract for creating index watch rules from a (context, index) pair.
export interface IIndexWatchRuleFactory {
create(context: unknown, index: unknown): IIndexWatchRule;
}import type { IIndexWatchRuleFactory } from '@rs-x/state-manager';1 member in this interface.
create(
context: unknown,
index: unknown
): IIndexWatchRuleParameters
| Name | Type | Required |
|---|---|---|
| context | unknown | required |
| index | unknown | required |
Returns