Add the given attributes to this Sink.
Add the given attributes to this Sink. If the specific attribute was already present on this graph this means the added attribute will be more specific than the existing one. If this Sink is a composite of multiple graphs, new attributes on the composite will be less specific than attributes set directly on the individual graphs of the composite.
Converts this Scala DSL element to it's Java DSL counterpart.
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Graph
Put an asynchronous boundary around this Source
Transform this Sink by applying a function to each *incoming* upstream element before it is passed to the Sink
Transform only the materialized value of this Sink, leaving all other properties as they were.
Add a
attribute to this Sink.name
Materializes this Sink, immediately returning (1) its materialized value, and (2) a new Sink that can be consume elements 'into' the pre-materialized one.
Materializes this Sink, immediately returning (1) its materialized value, and (2) a new Sink that can be consume elements 'into' the pre-materialized one.
Useful for when you need a materialized value of a Sink when handing it out to someone to materialize it for you.
Connect this Sink
to a Source
and run it.
Connect this Sink
to a Source
and run it. The returned value is the materialized value
of the Source
, e.g. the Subscriber
of a Source#subscriber.
The shape of a graph is all that is externally visible: its inlets and outlets.
INTERNAL API.
Replace the attributes of this Sink with the given ones.
A
Sink
is a set of stream processing steps that has one open input. Can be used as aSubscriber