- */
-interface WorkerInterface
-{
- /**
- * Receives the messages and dispatch them to the bus.
- *
- * The $onHandledCallback will be passed the Envelope that was just
- * handled or null if nothing was handled.
- *
- * @param mixed[] $options options used to control worker behavior
- */
- public function run(array $options = [], callable $onHandledCallback = null): void;
-
- /**
- * Stops receiving messages.
- */
- public function stop(): void;
-}
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy