Queue Actions

Centum\Codeception\Actions\QueueActions

grabQueue

Grab the Queue from the Container.

grabQueue(): Centum\Interfaces\Queue\QueueInterface

grabTaskRunner

Grab the Task Runner from the Container.

grabTaskRunner(): Centum\Interfaces\Queue\TaskRunnerInterface

useArrayQueue

useArrayQueue(): void

useImmediateQueue

useImmediateQueue(): void

publishToQueue

Publish a Task to the Queue.

publishToQueue(
    Centum\Interfaces\Queue\TaskInterface $task
): void

consumeFromQueue

Consume a Task from the Queue.

consumeFromQueue(): Centum\Interfaces\Queue\TaskInterface

grabQueueTasks

grabQueueTasks(): array<Centum\Interfaces\Queue\TaskInterface>

grabQueueBuriedTasks

grabQueueBuriedTasks(): array<Centum\Interfaces\Queue\TaskInterface>

executeTask

Executes a Task using the Task Runner.

executeTask(
    Centum\Interfaces\Queue\TaskInterface $task
): void