From 084789884b1697292a1a6377b1f29a2ac8a2f8d8 Mon Sep 17 00:00:00 2001 From: "Roland Franssen :)" Date: Mon, 19 Feb 2024 19:54:18 +0100 Subject: [PATCH] Expose handler result --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 1096d7f..d2a3392 100644 --- a/src/Client.php +++ b/src/Client.php @@ -338,7 +338,7 @@ public function process(null|int|float $timeout = 0, bool $reply = true, bool $c if ($reply && $message->replyTo) { $this->publish($message->replyTo, $result); } - break; + return $result; } }