Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CircuitBreaker an EventEmitter #3

Closed
lance opened this issue Oct 30, 2016 · 1 comment
Closed

Make CircuitBreaker an EventEmitter #3

lance opened this issue Oct 30, 2016 · 1 comment

Comments

@lance
Copy link
Member

lance commented Oct 30, 2016

The breaker should emit the following events:

  • execute || fire - emitted when the breaker action is executed.
  • reject - when a breaker is fired, but it's either open or half-open
  • timeout - when a fired action times out
  • failure - when a fired action fails
  • success - when a fired action succeeds
  • open - when the breaker is opened
  • close - when the breaker is closed
  • halfOpen - when the breaker is half open
@lance
Copy link
Member Author

lance commented Oct 31, 2016

Fixed in 42b82c4

@lance lance closed this as completed Oct 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant