Closed merovinh closed 3 months ago
For anyone who wonders how to fix this. You need to pas s
SWOOLE_HOOK_SLEEP
or SWOOLE_HOOK_CURL
into Swoole\Runtime::enableCoroutine();
https://github.com/swoole/swoole-src/issues/2969
Swoole\Runtime::enableCoroutine(SWOOLE_HOOK_SLEEP);
I have the same problem with running reactphp inside swoole coroutine;
Does this issue be solved now?
Since this issue has already been addressed and there have been no updates for a long time, we will now close it. If you need any further assistance, feel free to ask!
Hi guys! When I try to use WebSocket feed in coroutine, I get an error:
PHP Fatal error: Uncaught RuntimeException: Unable to set stream resource to non-blocking mode in .../vendor/react/stream/src/WritableResourceStream.php:35
My OS: Centos 7 PHP 7.1.16