33 lines
550 B
PHP
33 lines
550 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* 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
|
|
*/
|
|
|
|
namespace App\Process;
|
|
|
|
use Hyperf\AsyncQueue\Process\ConsumerProcess;
|
|
use Hyperf\Process\Annotation\Process;
|
|
|
|
/**
|
|
* @Process
|
|
*/
|
|
class AsyncQueueConsumer extends ConsumerProcess
|
|
{
|
|
public function handle(): void
|
|
{
|
|
|
|
}
|
|
|
|
public function isEnable($server): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|