StabilityAiCreditsRepository

Defines the StabilityAiCreditsRepository contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun fetch()

Loads SDAI data through fetch.

Link copied to clipboard
abstract suspend fun fetchAndGet(): Float

Loads SDAI data through fetchAndGet.

Link copied to clipboard
abstract fun fetchAndObserve(): Flow<Float>

Loads SDAI data through fetchAndObserve.

Link copied to clipboard
abstract suspend fun get(): Float

Loads SDAI data through get.

Link copied to clipboard
abstract fun observe(): Flow<Float>

Loads SDAI data through observe.