about summary refs log tree commit diff
path: root/src/state/lib/bg-scheduler.web.ts
blob: 91ec9428f2021dce9f887c4b8645ccfb41573609 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}