Use Hyperf\Utils\Coroutine::create() instead of Swoole\Coroutine::create() for Concurrent. (#2765)

* Update Concurrent.php

* Update CHANGELOG-2.0.md
This commit is contained in:
李铭昕 2020-11-05 12:42:11 +08:00 committed by GitHub
parent 27bd358783
commit 28ed50180b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@
- [#2752](https://github.com/hyperf/hyperf/pull/2752) Support route `options` for `@AutoController` `@Controller` and `@Mapping`.
## Changed
- [#2765](https://github.com/hyperf/hyperf/pull/2765) Use `Hyperf\Utils\Coroutine::create()` instead of `Swoole\Coroutine::create()` for `Concurrent`.
# v2.0.17 - 2020-11-02
## Added

View File

@ -14,7 +14,7 @@ namespace Hyperf\Utils\Coroutine;
use Hyperf\Contract\StdoutLoggerInterface;
use Hyperf\ExceptionHandler\Formatter\FormatterInterface;
use Hyperf\Utils\ApplicationContext;
use Swoole\Coroutine;
use Hyperf\Utils\Coroutine;
use Swoole\Coroutine\Channel;
/**