You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which means it's not optional, but you can provide an empty object it seems.
Thanks for making this, it seems to do exactly what I wanted, the other things I found (opossum) were making the execute harder.
side notes: opossum does have one thing, it has quite a few events that you can hook on, like halfopen, would be cool to have a larger number of events to trigger on. Also from your docs (it might be in Polly) it's unclear why I would want to chain circuitbreaker with retry, since both retry.
The text was updated successfully, but these errors were encountered:
Corrected the exponential signature and added a half-open event. Opossum has other events as well, but some of them are not related to the state of the circuit breaker and easy to observe yourself (e.g. successes and errors can be seen easily by looking at whether or not the function throws). So I'm not sure I feel the need to add more API for those, but I'm open to pushback..
in your docs you have this
but the signature of
.exponential()
iswhich means it's not optional, but you can provide an empty object it seems.
Thanks for making this, it seems to do exactly what I wanted, the other things I found (opossum) were making the execute harder.
side notes: opossum does have one thing, it has quite a few events that you can hook on, like halfopen, would be cool to have a larger number of events to trigger on. Also from your docs (it might be in Polly) it's unclear why I would want to chain circuitbreaker with retry, since both retry.
The text was updated successfully, but these errors were encountered: