Skip to content

aiczk/Unity-gRPC-Channel-Circuit-Breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Unity gRPC Channel CircuitBreaker

Circuit Breaker available in the Unity gRPC environment.

What is Circuit Breaker?

See http://martinfowler.com/bliki/CircuitBreaker.html

Installation

Intoroduction

How to Use

var ccb = new ChannelCircuitBreaker<FooClient>(channel, failedThreshold: 5, invocationTimeout: 0.2f);
            
await ccb
    .Create(ch => fooClient = new FooClient(ch))
    .InvocationTimeout(1f)  					//Reconfiguring
    .Execute();

License

MIT

About

Circuit Breaker available in the Unity gRPC environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages