The callback function to fire.
Controls the interval (default 1000 ms), maximum invocation count (default 10), callback context, and callback arguments.
Test the callback result. Defaults to result === true.
An idempotent cancellation function, including for validation failures and zero iterations. Invalid callbacks or non-finite/negative interval/count values retain their validation messages and schedule no timer.
Poll a callback until a condition succeeds, the count limit is reached, or polling is cancelled.
The first invocation waits for the interval. Subsequent delays start after the previous callback completes, so callbacks do not overlap. Cancellation clears pending timers and skips the condition and further polling after an in-flight callback resolves. It does not abort that callback, its network requests, or its side effects. Callback and condition exceptions remain unsuppressed in the asynchronous timer handler.
Usage: