Closed ktoso closed 1 year ago
Motivation:
we want to avoid querying time if we don't have to
Modifications:
end() functions now take autoclosure () -> Instant allowing us to not query time unless we have to (e.g. are "recording")
Review followup from https://github.com/apple/swift-distributed-tracing/pull/120/files#r1165288201
Motivation:
we want to avoid querying time if we don't have to
Modifications:
end() functions now take autoclosure () -> Instant allowing us to not query time unless we have to (e.g. are "recording")
Review followup from https://github.com/apple/swift-distributed-tracing/pull/120/files#r1165288201