ProcessTask

class ProcessTask @Inject constructor(tasksRepo: TasksRepo, plansRepo: PlansRepo, locksClient: LocksClient, manageTasks: ManageTasks)

Use case for processing tasks within a plan.

Constructors

Link copied to clipboard
@Inject
constructor(tasksRepo: TasksRepo, plansRepo: PlansRepo, locksClient: LocksClient, manageTasks: ManageTasks)

Creates an instance of ProcessTask with the specified dependencies.

Types

Link copied to clipboard
object Companion : Logging

Functions

Link copied to clipboard
suspend fun invoke(task: Task): Boolean

Invokes the task processing logic for the given task.