diff options
Diffstat (limited to 'src/state/lib/bg-scheduler.web.ts')
-rw-r--r-- | src/state/lib/bg-scheduler.web.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/state/lib/bg-scheduler.web.ts b/src/state/lib/bg-scheduler.web.ts new file mode 100644 index 000000000..91ec9428f --- /dev/null +++ b/src/state/lib/bg-scheduler.web.ts @@ -0,0 +1,13 @@ +type BackgroundFetchStatus = 0 | 1 | 2 + +export async function configure( + _handler: (taskId: string) => Promise<void>, + _timeoutHandler: (taskId: string) => Promise<void>, +): Promise<BackgroundFetchStatus> { + // TODO + return 0 +} + +export function finish(_taskId: string) { + // TODO +} |