StableDiffusionSamplersRepositoryImpl

Implements StableDiffusionSamplersRepository behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(remoteDataSource: StableDiffusionSamplersDataSource.Remote, localDataSource: StableDiffusionSamplersDataSource.Local, preferenceManager: PreferenceManager, authorizationStore: AuthorizationStore)

Properties

Link copied to clipboard

Exposes the authorizationStore value used by the SDAI data layer.

Link copied to clipboard

Exposes the localDataSource value used by the SDAI data layer.

Link copied to clipboard

Exposes the preferenceManager value used by the SDAI data layer.

Link copied to clipboard

Exposes the remoteDataSource value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun fetchSamplers()

Loads SDAI data through fetchSamplers.

Link copied to clipboard
open suspend override fun getSamplers(): List<StableDiffusionSampler>

Loads SDAI data through getSamplers.