2022-07-12 09:00:22 +02:00

13 lines
551 B
TypeScript

import { Context } from '../context/types';
import { TextMapPropagator } from './TextMapPropagator';
/**
* No-op implementations of {@link TextMapPropagator}.
*/
export declare class NoopTextMapPropagator implements TextMapPropagator {
/** Noop inject function does nothing */
inject(_context: Context, _carrier: unknown): void;
/** Noop extract function does nothing and returns the input context */
extract(context: Context, _carrier: unknown): Context;
fields(): string[];
}
//# sourceMappingURL=NoopTextMapPropagator.d.ts.map