awolden / brakes

Hystrix compliant Node.js Circuit Breaker Library
MIT License
300 stars 35 forks source link

Support decorator usage like in java #107

Closed yuu2lee4 closed 5 years ago

yuu2lee4 commented 5 years ago

There is a example based aother library.It is more elegant.

awolden commented 5 years ago

Thanks for the suggestion! The typescript decorator would definitely be nice in a TypeScript context, but I don't currently have any intention of baking in TS support, but brakes could be extended in a separate implementation that provides those decorators!