Feedback

resetTimer

Cancels or dismisses a timer by its timerId, including when its screen is not mounted. Mounted readers return to idle. A false return means storage could not forget the timer; mounted state still resets.

import { resetTimer } from "@/lib/ouro/use-timer";

Example

resetTimer("pasta");

Parameters

timerId
Type: string

Returns

boolean