BatchProcessTaskRunnerHandler
class BatchProcessTaskRunnerHandler extends ProcessTaskRunnerHandler (View source)
Properties
protected ProcessFactory | $processFactory | from ProcessTaskRunnerHandler | |
protected TaskService | $taskService | from ProcessTaskRunnerHandler | |
protected ProcessUpdater | $processUpdater |
Methods
__construct(ProcessUpdater $processUpdater, TaskService $taskService, ProcessFactory $processFactory)
No description
complete(TaskRunnerInterface $runner, ContextInterface $context)
Note: this returns a process started response because the completion of the task is actually just the beginning: the process itself has been deferred via an async message, which will actually be done running at some later point.
Details
__construct(ProcessUpdater $processUpdater, TaskService $taskService, ProcessFactory $processFactory)
No description
boot(TaskRunnerInterface $runner)
No description
start(TaskRunnerInterface $runner, ContextInterface $context)
No description
run(TaskRunnerInterface $runner, ContextInterface $context)
No description
ResponseInterface
complete(TaskRunnerInterface $runner, ContextInterface $context)
Note: this returns a process started response because the completion of the task is actually just the beginning: the process itself has been deferred via an async message, which will actually be done running at some later point.