background_service/background_service library

Classes

BackgroundService
Manages a generic background service capable of running arbitrary Dart functions.

Typedefs

AppInitializationCallback = Future<void> Function(ServiceInstance service)
Signature for the application-specific initialization callback.
JobHandler = Future<void> Function(ServiceInstance service, Map<String, dynamic>? payload, SqliteConnection db)
Signature for a job handler function.