Skip to content

Commit 9c8b327

Browse files
authored
Use Hyperf\Coroutine\Channel\Pool instead of Hyperf\Utils\ChannelPool (#5671)
1 parent 873ab7a commit 9c8b327

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"psr/container": "^1.0|^2.0",
2020
"psr/event-dispatcher": "^1.0",
2121
"hyperf/codec": "~3.0.0",
22+
"hyperf/collection": "~3.0.0",
2223
"hyperf/contract": "~3.0.0",
2324
"hyperf/command": "~3.0.0",
2425
"hyperf/utils": "~3.0.0"

src/Driver/Driver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
use Psr\EventDispatcher\EventDispatcherInterface;
2828
use Throwable;
2929

30+
use function Hyperf\Coroutine\parallel;
31+
3032
abstract class Driver implements DriverInterface
3133
{
3234
protected PackerInterface $packer;

0 commit comments

Comments
 (0)