easyswoole/job-queue 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

easyswoole/job-queue

Composer 安装命令:

composer require easyswoole/job-queue

包简介

Coroutine version of Memcache client

README 文档

README

可以方便用户快速搭建多协程分布式任务处理队列

class Queue implements \EasySwoole\JobQueue\QueueDriverInterface{

    function pop(float $timeout = 3): ?\EasySwoole\JobQueue\AbstractJob
    {
        
        return null;
    }

    function push(\EasySwoole\JobQueue\AbstractJob $job): bool
    {
        return true;
    }
}

$queue = new \EasySwoole\JobQueue\JobQueue(new Queue());

$http = new swoole_http_server("127.0.0.1", 9501);
$queue->attachServer($http);

$http->on("request", function ($request, $response) {
    $response->header("Content-Type", "text/plain");
    $response->end("Hello World\n");
});

$http->start();

统计信息

  • 总下载量: 183
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2020-03-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固