/** * Updates the metric with the specified update message. For example, if the * metric were a counter, the update would increment the method by the * provided amount. * * @tsplus static effect/core/io/Metrics/Metric.Aspects update * @tsplus pipeable effect/core/io/Metrics/Metric update */ export function update(input: In) { return (self: Metric): Effect => Effect.sync(self.unsafeUpdate(input, HashSet.empty())) }