const fileName_1 = "(@effect/core) _src/io/Metrics/operations/trackSuccess.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/io/Metrics/operations/trackSuccessWith";
/**
 * Returns an aspect that will update this metric with the success value of
 * the effects that it is applied to.
 *
 * @tsplus getter ets/Metrics/Metric trackSuccess
 */

export function trackSuccess(self) {
  return (effect, __tsplusTrace) => tsplus_module_2.trackSuccessWith_(self, tsplus_module_1.identity)(effect, fileName_1 + ":9:54");
}
//# sourceMappingURL=trackSuccess.mjs.map