StartExploringUseCase

class StartExploringUseCase @Inject constructor(repo: StudyPlanetRepository)

Use case for initiating the process of exploring a selected planet.

Constructors

Link copied to clipboard
@Inject
constructor(repo: StudyPlanetRepository)

Functions

Link copied to clipboard
operator fun invoke(selectedTimeInMillis: Int, selectedPlanetId: Int): Flow<Resource<Unit>>

Invokes the use case to start the process of exploring a selected planet.