onCall property

RpcCallEventHandler? onCall
final

Called after every RPC call ends: succeeded, failed or cancelled.

Use this to feed Prometheus counters, OpenTelemetry spans, etc. The framework automatically wires a timing interceptor.

Implementation

final RpcCallEventHandler? onCall;