StopWhenTimeLimitIsReachedReceiver
class StopWhenTimeLimitIsReachedReceiver implements ReceiverInterface
Methods
__construct(ReceiverInterface $decoratedReceiver, int $timeLimitInSeconds, LoggerInterface $logger = null)
No description
void
receive(callable $handler)
Receive some messages to the given handler.
void
stop()
Stop receiving some messages.