nuwber / rabbitevents

Nuwber's RabbitEvents provides a simple observer implementation, allowing you to publishing and handling for various events that occur in your applications. For example, if you need to react to some event occurred in another API.
MIT License
121 stars 36 forks source link

Add the --timeout option #86

Closed masterjus closed 2 years ago

masterjus commented 2 years ago
  1. Added the --timeout option
  2. Documentation improvement: Options description
  3. Internal Events has been renamed
  4. stopIfNecessary returns status code and the Worker returns it to ListenCommand when quit.
  5. More tests
codecov[bot] commented 2 years ago

Codecov Report

Merging #86 (40e6762) into 7.x (2bd4664) will increase coverage by 0.15%. The diff coverage is 93.47%.

Impacted file tree graph

@@             Coverage Diff              @@
##                7.x      #86      +/-   ##
============================================
+ Coverage     96.57%   96.72%   +0.15%     
- Complexity      152      183      +31     
============================================
  Files            22       28       +6     
  Lines           350      397      +47     
============================================
+ Hits            338      384      +46     
- Misses           12       13       +1     
Impacted Files Coverage Δ
...bitEvents/Listener/Events/ListenerHandleFailed.php 100.00% <ø> (ø)
...c/RabbitEvents/Listener/Events/ListenerHandled.php 100.00% <ø> (ø)
.../RabbitEvents/Listener/Events/ListenerHandling.php 100.00% <ø> (ø)
...abbitEvents/Listener/Message/ProcessingOptions.php 100.00% <ø> (ø)
src/RabbitEvents/Listener/Worker.php 88.88% <86.36%> (-1.44%) :arrow_down:
src/RabbitEvents/Foundation/Consumer.php 88.23% <100.00%> (+10.45%) :arrow_up:
...stener/Events/ListenerHandlerExceptionOccurred.php 100.00% <100.00%> (ø)
...Events/Listener/Events/MessageProcessingFailed.php 100.00% <100.00%> (ø)
src/RabbitEvents/Listener/Message/Processor.php 100.00% <100.00%> (+2.12%) :arrow_up:
src/RabbitEvents/Foundation/Message.php 100.00% <0.00%> (ø)
... and 19 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2bd4664...40e6762. Read the comment docs.