hyperf-chat/app/Process/AsyncQueueConsumer.php

33 lines
550 B
PHP
Raw Permalink Normal View History

2020-11-02 22:45:37 +08:00
<?php
declare(strict_types=1);
2021-09-11 12:41:28 +08:00
2020-11-02 22:45:37 +08:00
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
2021-04-22 16:14:34 +08:00
2020-11-02 22:45:37 +08:00
namespace App\Process;
use Hyperf\AsyncQueue\Process\ConsumerProcess;
use Hyperf\Process\Annotation\Process;
2021-05-25 22:06:54 +08:00
/**
* @Process
*/
2020-11-02 22:45:37 +08:00
class AsyncQueueConsumer extends ConsumerProcess
{
2020-11-20 19:17:11 +08:00
public function handle(): void
{
2020-11-02 22:45:37 +08:00
2020-11-20 19:17:11 +08:00
}
2021-05-25 22:06:54 +08:00
public function isEnable($server): bool
{
return false;
}
2020-11-02 22:45:37 +08:00
}