StreamRefs

org.apache.pekko.stream.javadsl.StreamRefs
object StreamRefs

Factories for creating stream refs.

Attributes

Source
StreamRefs.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
StreamRefs.type

Members list

Value members

Concrete methods

def sinkRef[T](): Source[T, SinkRef[T]]

A local Sink which materializes a SourceRef which can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached in the spot of the local Sink directly.

A local Sink which materializes a SourceRef which can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached in the spot of the local Sink directly.

Adheres to StreamRefAttributes.

See more detailed documentation on SinkRef.

Attributes

Source
StreamRefs.scala
def sourceRef[T](): Sink[T, SourceRef[T]]

A local Sink which materializes a SourceRef which can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached in the spot of the local Sink directly.

A local Sink which materializes a SourceRef which can be used by other streams (including remote ones), to consume data from this local stream, as if they were attached in the spot of the local Sink directly.

Adheres to StreamRefAttributes.

See more detailed documentation on SourceRef.

Attributes

Source
StreamRefs.scala