Travix-International / Hystrix.Dotnet

A combination of circuit breaker and timeout. The .net version of the open source Hystrix library built by Netflix.
https://travix-international.github.io/Hystrix.Dotnet/
MIT License
95 stars 16 forks source link

Add example for fallback function to README.md #20

Closed 1kastner closed 6 years ago

1kastner commented 6 years ago

I was searching for some explanation how I can set a fallback because I come from the Java version which uses self-written classes, see the Java version. So when I searched for the fallback I found some information, e.g. in the HystrixCommand implementation. It seems like I can just pass some delegate but a nice example for that in the global README.md would be great. If you agree I could do a pull request as well.

markvincze commented 6 years ago

Sounds great, feel free to issue a PR adding an example to the README.