Indigo Queue manages your queues and processes the jobs you put onto them.
Via Composer
{
"require": {
"indigophp/queue": "@stable"
}
}
First of all you have decide which MQ do you want to use. Currently supported MQs:
There is also a special implementation, where to job is not sent to a queue, but executed immediately.
Connector does the communication between the server and the Queue/Worker class.
You use the Queue class to push jobs to a queue. You can also push a job with a delay.
See Queue example.
You usually set up a console application for your workers.
See Worker example.
See examples;
This connector does what you think: Executes the pushed job immediately. You can also push a delayed job, BUT BE CAREFUL: this means that your application will sleep for a certain time, so use it wisely.
$ codecept run
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.