Source.asSourceWithContext
Turns a Source into a SourceWithContext which can propagate a context per element along a stream.
Signature
Source.asSourceWithContext
Source.asSourceWithContext
Description
See Context Propagation for a general overview of context propagation.
Turns a Source
Source
into a SourceWithContext
SourceWithContext
which can propagate a context per element along a stream. The function passed into asSourceWithContext
must turn elements into contexts, one context for every element.