Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    StreamRefs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams.Dsl
    Assembly: Akka.Streams.dll
    Syntax
    public static class StreamRefs

    Methods

    | Edit this page View Source

    SinkRef<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
    SinkRef<T>()
    | Edit this page View Source

    SourceRef<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
    See Also
    SourceRef<T>()
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET