NoOpBackgroundWorkObserver

Provides the NoOpBackgroundWorkObserver singleton used by the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
open override fun dismissResult()

Executes the dismissResult step in the SDAI domain layer.

Link copied to clipboard
open override fun hasActiveTasks(): Boolean

Executes the hasActiveTasks step in the SDAI domain layer.

Link copied to clipboard
open override fun observeResult(): Flow<BackgroundWorkResult>

Loads SDAI data through observeResult.

Link copied to clipboard
open override fun observeStatus(): Flow<BackgroundWorkStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
open override fun postCancelSignal()

Executes the postCancelSignal step in the SDAI domain layer.

Link copied to clipboard
open override fun postFailedSignal(t: Throwable)

Executes the postFailedSignal step in the SDAI domain layer.

Link copied to clipboard
open override fun postStatusMessage(title: String, subTitle: String)

Executes the postStatusMessage step in the SDAI domain layer.

Link copied to clipboard
open override fun postSuccessSignal(result: List<AiGenerationResult>)

Executes the postSuccessSignal step in the SDAI domain layer.

Link copied to clipboard
open override fun refreshStatus()

Executes the refreshStatus step in the SDAI domain layer.