Beanstalkd Queue

Centum\Queue\BeanstalkdQueue acts as a very simple and focussed frontend for Beanstalkd. Internally it uses Pheanstalk to interact with a Beanstalkd server.

Centum\Queue\BeanstalkdQueue(
    Centum\Interfaces\Queue\TaskRunnerInterface $taskRunner,
    Pheanstalk\Contract\PheanstalkInterface $pheanstalk
);

It uses the centum-tasks tube to store Tasks (available from Centum\Queue\BeanstalkdQueue::TUBE).

Tasks have 10 minutes to complete before Beanstalkd will release them and allow them to be run again.