Make `MetricsFactory` Sendable (#116)

This commit is contained in:
Fabian Fett 2022-07-21 03:53:47 +02:00 committed by GitHub
parent 53be78637e
commit bd1b935c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ public enum MetricsSystem {
/// While some libraries may not need to implement this destroying as they may be stateless or similar,
/// libraries using the metrics API should always assume a library WILL make use of this signal, and shall not
/// neglect calling these methods when appropriate.
public protocol MetricsFactory {
public protocol MetricsFactory: _SwiftMetricsSendableProtocol {
/// Create a backing `CounterHandler`.
///
/// - parameters: