/** * Returns an aspect that will update this metric with the defects of the * effects that it is applied to. * * @tsplus getter effect/core/io/Metrics/Metric trackDefect */ export function trackDefect( self: Metric ): (effect: Effect) => Effect { return self.trackDefectWith(identity) }