API Reference

ShouldWatchIndexPredicatetype

Type exported from index-watch-rule-registry.

Overview

Index-watch-rule contracts, registry, and default recursive/non-recursive watch rules.

Declaration

export type ShouldWatchIndexPredicate = (
  context: unknown,
  index: unknown,
  target: unknown,
) => boolean;

Import

import type { ShouldWatchIndexPredicate } from '@rs-x/state-manager';