Home > widget-integration > CountdownTimerController > stopOwnTick

CountdownTimerController.stopOwnTick() method

Clear the running setInterval tick loop.

Called by and before restarting the interval in . Override to cancel additional async work tied to the tick lifecycle.

Signature:

protected stopOwnTick(): void;

Returns:

void

Example

Override to also abort an in-flight fetch:

protected stopOwnTick() {
  this.abortController?.abort();
  super.stopOwnTick();
}