GetPlan

class GetPlan @Inject constructor(plansRepo: PlansRepo, tasksRepo: TasksRepo)

Use case for retrieving a plan and its latest task.

Constructors

Link copied to clipboard
@Inject
constructor(plansRepo: PlansRepo, tasksRepo: TasksRepo)

Functions

Link copied to clipboard
suspend fun invoke(planId: UUID): GetPlanResponse

Retrieves the specified plan and its latest task.