DownloadModelUseCaseImpl

internal class DownloadModelUseCaseImpl(val downloadableModelRepository: DownloadableModelRepository) : DownloadModelUseCase(source)

Implements DownloadModelUseCase behavior in the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(downloadableModelRepository: DownloadableModelRepository)

Properties

Link copied to clipboard

Exposes the downloadableModelRepository value used by the SDAI domain layer.

Functions

Link copied to clipboard
open operator override fun invoke(id: String, url: String): Flow<DownloadState>

Executes the invoke step in the SDAI domain layer.