object StreamRefs
API MAY CHANGE: The functionality of stream refs is working, however it is expected that the materialized value will eventually be able to remove the Future wrapping the stream references. For this reason the API is now marked as API may change. See ticket https://github.com/akka/akka/issues/24372 for more details.
Factories for creating stream refs.
- Annotations
- @ApiMayChange()
- Source
- StreamRefs.scala
- Alphabetic
- By Inheritance
- StreamRefs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
sinkRef[T](): Source[T, CompletionStage[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.
- Annotations
- @ApiMayChange()
-
def
sourceRef[T](): Sink[T, CompletionStage[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.
- Annotations
- @ApiMayChange()