GetGenerationResultPagedUseCaseImpl

Implements GetGenerationResultPagedUseCase behavior in the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(repository: GenerationResultRepository)

Properties

Link copied to clipboard

Exposes the repository value used by the SDAI domain layer.

Functions

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

Executes the invoke step in the SDAI domain layer.

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

Loads SDAI data through observe.

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

Loads SDAI data through observeCount.