FloatingPointCounterHandler

public protocol FloatingPointCounterHandler : AnyObject

A FloatingPointCounterHandler represents a backend implementation of a FloatingPointCounter.

This type is an implementation detail and should not be used directly, unless implementing your own metrics backend. To use the SwiftMetrics API, please refer to the documentation of FloatingPointCounter.

Implementation requirements

To implement your own FloatingPointCounterHandler you should respect a few requirements that are necessary so applications work as expected regardless of the selected FloatingPointCounterHandler implementation.

  • The FloatingPointCounterHandler must be a class.