GetGenerationResultPagedUseCase

Defines the GetGenerationResultPagedUseCase contract for the SDAI domain layer.

Author

Dmitriy Moroz

Inheritors

Functions

Link copied to clipboard
abstract suspend operator fun invoke(limit: Int, offset: Int): List<AiGenerationResult>

Executes the invoke step in the SDAI domain layer.

Link copied to clipboard
abstract fun observe(limit: Int, offset: Int): Flow<List<AiGenerationResult>>

Loads SDAI data through observe.

Link copied to clipboard
abstract fun observeCount(): Flow<Int>

Loads SDAI data through observeCount.