Skip to content

Commit 9148a5a

Browse files
committed
Rather not set these factories but have to until either reactphp/event-loop#82 or reactphp/event-loop#77 is merged
1 parent a545964 commit 9148a5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AsyncClient.php

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public function __construct(Observable $client)
133133
*/
134134
public static function create(LoopInterface $loop, string $app, Resolver $resolver = null): AsyncClient
135135
{
136+
// Rather not do this, but have to untill ReactPHP gets it's own global loop
136137
try {
137138
Scheduler::setAsyncFactory(function () use ($loop) {
138139
return new Scheduler\EventLoopScheduler($loop);

0 commit comments

Comments
 (0)