class BatchProcessTaskRunnerHandler extends ProcessTaskRunnerHandler (View source)

Properties

protected ProcessFactory $processFactory from  ProcessTaskRunnerHandler
protected TaskService $taskService from  ProcessTaskRunnerHandler

Methods

__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

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

Parameters

TaskService $taskService
ProcessFactory $processFactory

boot(TaskRunnerInterface $runner)

No description

Parameters

TaskRunnerInterface $runner

start(TaskRunnerInterface $runner, ContextInterface $context)

No description

Parameters

TaskRunnerInterface $runner
ContextInterface $context

run(TaskRunnerInterface $runner, ContextInterface $context)

No description

Parameters

TaskRunnerInterface $runner
ContextInterface $context

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.

Parameters

TaskRunnerInterface $runner
ContextInterface $context

Return Value

ResponseInterface