anchor.diff:  [[events]]
   == Consume emitted events
   
  -`CircuitBreaker`, `RateLimiter`, `Cache`, `Bulkhead`, `TimeLimiter` and `Retry` components emit a stream of events. It can be consumed for logging, assertions and any other purpose.
  +`CircuitBreaker`, `RateLimiter`, `Cache`, `Bulkhead`, `TimeLimiter` and `Retry` components emit a stream of events.
  +It can be consumed for logging, assertions and any other purpose.
   
   === Examples
   
  -A `CircuitBreakerEvent` can be a state transition, a circuit breaker reset, a successful call, a recorded error or an ignored error. All events contains additional information like event creation time and processing duration of the call. If you want to consume events, you have to register an event consumer.
  +A `CircuitBreakerEvent` can be a state transition, a circuit breaker reset, a successful call, a recorded error or an ignored error.
  +All events contains additional information like event creation time and processing duration of the call.
  +If you want to consume events, you have to register an event consumer.
   
   [source,java]
   ----
  
positive.code: = Fault tolerance library designed for functional programming
  :author: Robert Winkler and Bohdan Storozhuk
  :hardbreaks:
  :icons:
  :toc: macro
  :numbered: 1
  
negative.code: 
  == Resilience patterns
  
  [cols="<.<*", options="header"]
  |===
  |name |how does it work? | description |slogans |links
  
  