Closed WaylandAce closed 2 months ago
@WaylandAce i need this update as well. i can help if you give me access to your fork/repo
@bitgandtter If you want to do another PR that use instanceof
I will accept it
Applied suggestion.
It needs the use
too
@WaylandAce that needs to be applied to the listener as well
public function onWorkerStop(WorkerStopEvent $event): void
{
$result = $this->hub->getClient()?->flush();
if ($result instanceof GuzzleHttp\Promise\PromiseInterface) {
$result->wait(false);
}
}
@Baldinof can you review?
It's released as 3.1.1
.
Thank you for the PR @WaylandAce
Closes https://github.com/Baldinof/roadrunner-bundle/issues/140