NoopTextMapPropagator.d.ts 551 B

12345678910111213
  1. import { Context } from '../context/types';
  2. import { TextMapPropagator } from './TextMapPropagator';
  3. /**
  4. * No-op implementations of {@link TextMapPropagator}.
  5. */
  6. export declare class NoopTextMapPropagator implements TextMapPropagator {
  7. /** Noop inject function does nothing */
  8. inject(_context: Context, _carrier: unknown): void;
  9. /** Noop extract function does nothing and returns the input context */
  10. extract(context: Context, _carrier: unknown): Context;
  11. fields(): string[];
  12. }
  13. //# sourceMappingURL=NoopTextMapPropagator.d.ts.map