ManageTasks

class ManageTasks @Inject constructor(tasksRepo: TasksRepo, repoConnector: RepoConnector, queueClient: ProducerQueueClient, shouldCreateNextTask: ShouldCreateNextTask)

Use case for managing tasks within a plan.

Constructors

Link copied to clipboard
@Inject
constructor(tasksRepo: TasksRepo, repoConnector: RepoConnector, queueClient: ProducerQueueClient, shouldCreateNextTask: ShouldCreateNextTask)

Creates an instance of ManageTasks with the specified dependencies.

Types

Link copied to clipboard
object Companion : Logging

Functions

Link copied to clipboard
suspend fun invoke(plan: Plan, task: Task)

Invokes the task management process for the given plan and task.