[−][src]Macro holochain_metrics::with_latency_publishing
Wraps a standard rust function with latency timing that is published to $publisher upon completion of $f($args,*). The latency metric name will be "$metric_prefix.latency".