requestInvalidate

fun requestInvalidate(invalidateAction: () -> Unit)

Requests a template invalidation with rate limiting.

Behavior:

  • If called after minIntervalMs since last invalidate: executes immediately

  • If called within minIntervalMs: schedules a trailing edge call

Parameters

invalidateAction

The action to perform (typically { invalidate() })