inject method

  1. @override
void inject(
  1. SpanContext spanContext,
  2. String format,
  3. dynamic carrier
)
override

Injects the given SpanContext instance for cross-process propagation within carrier. The expected type of carrier depends on the value of `format.

OpenTracing defines a common set of format values (see formatTextMap, formatHttpHeaders, and formatBinary), and each has an expected carrier type.

Implementation

@override
void inject(SpanContext spanContext, String format, dynamic carrier) {}