Files
kiri-core/Queue/Abstracts/Relyon.php
T
2020-10-29 18:18:57 +08:00

34 lines
480 B
PHP

<?php
declare(strict_types=1);
namespace Queue\Abstracts;
use Queue\Consumer;
interface Relyon
{
// /**
// * @param string $key
// * @param Consumer $consumer
// * @param int $score
// * @return mixed
// *
// * 追加
// */
// public function push(string $key, Consumer $consumer, $score = 0);
//
//
// /**
// * @param string $key
// * @param Consumer $consumer
// * @return mixed
// * 消费
// */
// public function pop(string $key, Consumer $consumer);
//
}