ProcessTaskRunnerHandler
class ProcessTaskRunnerHandler implements HandlerInterface (View source)
Properties
protected ProcessFactory | $processFactory | ||
protected TaskService | $taskService |
Methods
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(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.