【文件属性】:
文件名称:Celery-CI:celery-php (celery.php) 转化为 CodeIgniter 库。 来自 https 的原始 celery.php
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-16 17:31:17
PHP
芹菜-CI
celery-php (celery.php) 转化为 CodeIgniter 库。
来自的原始 celery.php
演示
发出请求(芹菜客户端):
假设您以 celery worker 身份运行 python 模块,它将添加数字 2 和 3。
addTwoNumbers 操作
function addTwoNumbers()
{
$a = 2;
$b = 3;
$isBrokerRunning = $this->celeryclientlib->getBrokerStatus();
if ($isBrokerRunning) {
$payloadArray = array($a, $b);
echo "adding numbers with celery";
$result
【文件预览】:
Celery-CI-master
----application()
--------controllers()
--------libraries()
----README.md(1KB)