@opentelemetry/core
Version:
OpenTelemetry Core provides constants and utilities shared by all OpenTelemetry SDK packages.
14 lines • 393 B
JavaScript
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @deprecated please copy this code to your implementation instead, this function will be removed in the next major version of this package.
* @param timer
*/
export function unrefTimer(timer) {
if (typeof timer !== 'number') {
timer.unref();
}
}
//# sourceMappingURL=timer-util.js.map