expo-task-manager
Version: 55.0.6 Expo module that provides support for tasks that can run in the background. Used by expo-location, expo-background-fetch, and other modules.Installation
Usage
API Reference
Methods
(taskName: string, task: TaskManagerTask) => void
Defines a background task
(taskName: string) => Promise<boolean>
Checks if task is registered
() => Promise<TaskManagerTaskDescriptor[]>
Gets all registered tasks
(taskName: string) => Promise<void>
Unregisters a task
() => Promise<void>
Unregisters all tasks