OptionalabortedOptionalcontext[Optional] Context that the application can assign that will also be passed to any dependency initializer
The current core instance
OptionalinitProvided only if the dependency request is a fetch call, this is the init argument being used, re-assigning this value does not change the value used for the request, however, changing properties of this object will be used.
OptionalinputProvided only if the dependency request is a fetch call, this is the input argument being used, re-assigning this value has not affect on the value used for the request, however, when this is a Request object changing the value of the Request will be used for the outbound request.
OptionalspanSelf-generated 8-bytes identifier of the incoming request. Must be a hex representation of 8-byte array. Also know as the parentId, used to link requests together
OptionaltraceAn integer representation of the W3C TraceContext trace-flags. https://www.w3.org/TR/trace-context/#trace-flags
OptionaltraceReturns the unique identifier for a trace. All requests / spans from the same trace share the same traceId. Must be read from incoming headers or generated according to the W3C TraceContext specification, in a hex representation of 16-byte array. A.k.a. trace-id, TraceID or Distributed TraceID
OptionalxhrProvided only if the dependency request is an XHR call
[Optional] A flag that indicates whether the client request was manually aborted by the
abort(), as listeners are called just before the request is sent it is unlikely that an application would have calledabortbeforesendthis is also available in the dependency initializer.