Files
kiri-core/Queue/Abstracts/Relyon.php
T
2020-09-10 19:26:42 +08:00

33 lines
455 B
PHP

<?php
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);
//
}