Class 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 Task 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.
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public static class StreamRefs
Methods
| Improve this Doc View SourceSinkRef<T>()
A local Sink<TIn, TMat> which materializes a SinkRef<T>() 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]].
Declaration
public static Source<T, Task<ISinkRef<T>>> SinkRef<T>()
Returns
Type | Description |
---|---|
Source<T, Task<ISinkRef<T>>> |
Type Parameters
Name | Description |
---|---|
T |
See Also
| Improve this Doc View SourceSourceRef<T>()
A local Sink<TIn, TMat> which materializes a SourceRef<T>() 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.
Declaration
public static Sink<T, Task<ISourceRef<T>>> SourceRef<T>()
Returns
Type | Description |
---|---|
Sink<T, Task<ISourceRef<T>>> |
Type Parameters
Name | Description |
---|---|
T |