Files
30-seconds-of-code/node_modules/opentracing/lib/global_tracer.d.ts
2019-08-20 15:52:05 +02:00

14 lines
390 B
TypeScript

import Tracer from './tracer';
/**
* Set the global Tracer.
*
* The behavior is undefined if this function is called more than once.
*
* @param {Tracer} tracer - the Tracer implementation
*/
export declare function initGlobalTracer(tracer: Tracer): void;
/**
* Returns the global tracer.
*/
export declare function globalTracer(): Tracer;
//# sourceMappingURL=global_tracer.d.ts.map