0.7.0
Pre-release
Pre-release
You can now do concurrent calls in HTTP:
$bus = Bus::builder()
->withTransport(new HttpTransport())
->build();
$promises = $bus->callAsync(
new GetFooWebService(123),
new GetFooWebService(456),
);
foreach ($promises as $promise) {
$foo = $promise->wait();
}