UNPKG

@azure/core-auth

Version:

Provides low-level interfaces and helper methods for authentication in Azure SDK

27 lines 846 B
/** * An interface structurally compatible with OpenTelemetry. */ export interface TracingContext { /** * Get a value from the context. * * @param key - key which identifies a context value */ getValue(key: symbol): unknown; /** * Create a new context which inherits from this context and has * the given key set to the given value. * * @param key - context key for which to set the value * @param value - value to set for the given key */ setValue(key: symbol, value: unknown): TracingContext; /** * Return a new context which inherits from this context but does * not contain a value for the given key. * * @param key - context key for which to clear a value */ deleteValue(key: symbol): TracingContext; } //# sourceMappingURL=tracing.d.ts.map