events

abstract val events: SharedFlow<ResilientEvent>

A stream of telemetry events emitted by the policy's resilience strategies during execution.

This SharedFlow provides real-time insights into the policy's behavior, such as retry attempts, circuit breaker state changes, cache hits/misses, and execution successes or failures. Subscribe to this flow to monitor the health and performance of the decorated operations.