Skip to content

Conversation

@seekskyworld
Copy link

Issue link:

Summary:

  • add optional equals comparator to watch (v3 API) to control change detection
  • skip callback and cleanup when equals reports equal; warn when used without a callback or with a non-function
  • add unit test covering cleanup suppression with equals

Motivation:

  • allow semantic equality to prevent unnecessary cleanup/abort when inputs are recreated but equivalent

Validation:

  • pnpm test:unit -- test/unit/features/v3/apiWatch.spec.ts

@seekskyworld seekskyworld force-pushed the feat/13242-watch-equals-clean branch from 3d97b22 to 17e6a54 Compare January 12, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant