LocalDiffusion

Defines the LocalDiffusion contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun interrupt()

Performs the SDAI side effect handled by interrupt.

Link copied to clipboard
abstract fun observeStatus(): Flow<LocalDiffusionStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
abstract suspend fun process(payload: TextToImagePayload): Bitmap

Executes the process step in the SDAI domain layer.