Exemple #1
0
#pragma warning disable PS0018 // A task-returning method should have a CancellationToken parameter unless it has a parameter implementing ICancellableContext
        Task Consumer_Registered(object sender, ConsumerEventArgs e)
#pragma warning restore PS0018 // A task-returning method should have a CancellationToken parameter unless it has a parameter implementing ICancellableContext
        {
            circuitBreaker.Success();

            return(Task.CompletedTask);
        }
Exemple #2
0
 void Consumer_Registered(object sender, ConsumerEventArgs e)
 {
     circuitBreaker.Success();
 }
Exemple #3
0
        Task Consumer_Registered(object sender, ConsumerEventArgs e)
        {
            circuitBreaker.Success();

            return(Task.CompletedTask);
        }