swift-metrics
swift-metrics copied to clipboard
Should recordInterval live in CoreMetrics?
I initially said in review that it should be in Metrics: https://github.com/apple/swift-metrics/pull/83
but maybe that was wrong; it does not depend on foundation but just dispatch hm.
https://github.com/apple/swift-metrics/blob/44e8bfc7f5a0686e21d5d21a7ea5454e74ed3449/Sources/Metrics/Metrics.swift#L42-L44
FYI @tomerd @slashmo
I think depending on Dispatch in Core is fine, there are a couple of other ones in there that can move too