react-native-notify-kit / ForegroundServiceTask
Type Alias: ForegroundServiceTask()
ForegroundServiceTask: (
notification) =>Promise<void>
Defined in: packages/react-native/src/types/Notification.ts:191
A representation of a Foreground Service task registered via registerForegroundService.
The task must resolve a promise once complete, and in turn removes the notification.
View the Foreground Service documentation to learn more.
