Skip to content

Commit 672bb5f

Browse files
authored
新增支持 Redis Stream 消息队列实现 (#184)
1 parent f1e5190 commit 672bb5f

File tree

4 files changed

+617
-0
lines changed

4 files changed

+617
-0
lines changed

src/Contract/IRedisStreamMessage.php

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Imi\Queue\Contract;
6+
7+
/**
8+
* 消息接口.
9+
*/
10+
interface IRedisStreamMessage extends IMessage
11+
{
12+
/**
13+
* 获取数组消息.
14+
*/
15+
public function getArrayMessage(): array;
16+
}

0 commit comments

Comments
 (0)