Skip to content

Queue Interfaces

(all in the Centum\Interfaces\Queue namespace)

QueueInterface

publish(
    Centum\Interfaces\Queue\TaskInterface $task
): void
consume(): Centum\Interfaces\Queue\TaskInterface

TaskInterface

execute(
    Centum\Interfaces\Container\ContainerInterface $container
): void

TaskRunnerInterface

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