DelegatingWorker
A worker that delegates sync to another CoroutineWorker constructed with a HiltWorkerFactory.
This allows for creating and using CoroutineWorker instances with extended arguments without having to provide a custom WorkManager configuration that the app module needs to utilize.
In other words, it allows for custom workers in a library module without having to own configuration of the WorkManager singleton.
Functions
Link copied to clipboard
Delegates the work to the delegate worker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Retrieves the foreground info from the delegate worker
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard