glean / mozilla.telemetry.glean.private / TimingDistributionMetricType / cancel

cancel

fun cancel(timerId: GleanTimerId?): Unit

Abort a previous start call. No error is recorded if no start was called.

Parameters

timerId - The GleanTimerId associated with this timing. This allows for concurrent timing of events associated with different ids to the same timing distribution metric.