Skip to content

0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Mopolo Mopolo released this 20 Nov 23:30
· 55 commits to master since this 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();
}