We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17e0e8 commit 827fad8Copy full SHA for 827fad8
src/Client.php
@@ -8,6 +8,7 @@
8
use ApiClients\Client\Travis\Resource\UserInterface;
9
use ApiClients\Foundation\Factory;
10
use ApiClients\Foundation\Resource\ResourceInterface;
11
+use function ApiClients\Tools\Rx\setAsyncScheduler;
12
use React\EventLoop\Factory as LoopFactory;
13
use React\EventLoop\LoopInterface;
14
use Rx\React\Promise;
@@ -49,6 +50,7 @@ public static function create(
49
50
$loop = LoopFactory::create();
51
$options = ApiSettings::getOptions($token, 'Sync', $options);
52
$client = Factory::create($loop, $options);
53
+ setAsyncScheduler($loop);
54
$asyncClient = AsyncClient::createFromClient($client);
55
56
return self::createFromClient($loop, $asyncClient);
0 commit comments