A simple background timer for Capacitor
npm install capacitor-simplebackgroundtimer
npx cap sync
startInterval(options: { interval: number; }) => Promise<{ value: boolean; }>
Param | Type |
---|---|
options |
{ interval: number; } |
Returns: Promise<{ value: boolean; }>
stopInterval(options: Record<string, never>) => Promise<{ value: boolean; }>
Param | Type |
---|---|
options |
{ [x: string]: never; } |
Returns: Promise<{ value: boolean; }>