CleanerLauncher

interface CleanerLauncher

The interface describing the launcher of cleaners. Allows you to start and synchronize the work of cleaners.

Properties

Link copied to clipboard
abstract val stateFlow: StateFlow<CleanerState>

Used to monitor the condition of the cleaners in pull.

Functions

Link copied to clipboard
abstract suspend fun analyze(cleaners: List<Cleaner>, isFullRefresh: Boolean)

Launches a list of cleaners to analyze trash items.

Link copied to clipboard
abstract suspend fun clean(items: List<TrashItem>)

Launches a list of cleaners for cleaning trash items.