CoreGenerationWorker
internal abstract class CoreGenerationWorker(context: Context, workerParameters: WorkerParameters, pushNotificationManager: PushNotificationManager, activityIntentProvider: ActivityIntentProvider, val preferenceManager: PreferenceManager, val backgroundWorkObserver: BackgroundWorkObserver, val observeHordeProcessStatusUseCase: ObserveHordeProcessStatusUseCase, val observeLocalDiffusionProcessStatusUseCase: ObserveLocalDiffusionProcessStatusUseCase, val observeBonsaiProcessStatusUseCase: ObserveBonsaiProcessStatusUseCase, val interruptGenerationUseCase: InterruptGenerationUseCase) : NotificationWorker(source)
Shared foreground worker base for generation tasks.
It owns cancellation, progress subscriptions, foreground notifications, and background observer updates that are common to txt2img and img2img work.
Inheritors
Constructors
Link copied to clipboard
constructor(context: Context, workerParameters: WorkerParameters, pushNotificationManager: PushNotificationManager, activityIntentProvider: ActivityIntentProvider, preferenceManager: PreferenceManager, backgroundWorkObserver: BackgroundWorkObserver, observeHordeProcessStatusUseCase: ObserveHordeProcessStatusUseCase, observeLocalDiffusionProcessStatusUseCase: ObserveLocalDiffusionProcessStatusUseCase, observeBonsaiProcessStatusUseCase: ObserveBonsaiProcessStatusUseCase, interruptGenerationUseCase: InterruptGenerationUseCase)
Properties
Link copied to clipboard
Exposes the activityIntentProvider value used by the SDAI background work feature layer.
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
Exposes the genericNotificationId value used by the SDAI background work feature layer.
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
Exposes the notificationId value used by the SDAI background work feature layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the pushNotificationManager value used by the SDAI background work feature layer.
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
Functions
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
Link copied to clipboard
Link copied to clipboard
Executes the showGenericNotification step in the SDAI background work feature layer.
Link copied to clipboard
Link copied to clipboard