Search Results for

    Show / Hide Table of Contents

    Class Merge<TIn, TOut>

    Merge several streams, taking elements as they arrive from input streams (picking randomly when several have elements ready).

    Emits when one of the inputs has an element available

    Backpressures when downstream backpressures

    Completes when all upstreams complete

    Cancels when downstream cancels
    Inheritance
    object
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>
    GraphStage<UniformFanInShape<TIn, TOut>>
    Merge<TIn, TOut>
    Merge<T>
    Implements
    IGraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>
    IGraph<UniformFanInShape<TIn, TOut>, NotUsed>
    IGraph<UniformFanInShape<TIn, TOut>>
    Inherited Members
    GraphStage<UniformFanInShape<TIn, TOut>>.CreateLogicAndMaterializedValue(Attributes)
    GraphStage<UniformFanInShape<TIn, TOut>>.CreateLogic(Attributes)
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.InitialAttributes
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.Shape
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.WithAttributes(Attributes)
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.CreateLogicAndMaterializedValue(Attributes)
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.Module
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.AddAttributes(Attributes)
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.Named(string)
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.Async()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Streams.Dsl
    Assembly: Akka.Streams.dll
    Syntax
    public class Merge<TIn, TOut> : GraphStage<UniformFanInShape<TIn, TOut>>, IGraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>, IGraph<UniformFanInShape<TIn, TOut>, NotUsed>, IGraph<UniformFanInShape<TIn, TOut>> where TIn : TOut
    Type Parameters
    Name Description
    TIn

    TBD

    TOut

    TBD

    Constructors

    | Edit this page View Source

    Merge(int, bool)

    Initializes a new instance of the Merge<TIn, TOut> class.

    Declaration
    public Merge(int inputPorts, bool eagerComplete = false)
    Parameters
    Type Name Description
    int inputPorts

    TBD

    bool eagerComplete

    TBD

    Exceptions
    Type Condition
    ArgumentException

    This exception is thrown when the specified inputPorts is less than one.

    Properties

    | Edit this page View Source

    InitialAttributes

    TBD

    Declaration
    protected override Attributes InitialAttributes { get; }
    Property Value
    Type Description
    Attributes
    Overrides
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.InitialAttributes
    | Edit this page View Source

    Out

    TBD

    Declaration
    public Outlet<TOut> Out { get; }
    Property Value
    Type Description
    Outlet<TOut>
    | Edit this page View Source

    Shape

    TBD

    Declaration
    public override UniformFanInShape<TIn, TOut> Shape { get; }
    Property Value
    Type Description
    UniformFanInShape<TIn, TOut>
    Overrides
    GraphStageWithMaterializedValue<UniformFanInShape<TIn, TOut>, NotUsed>.Shape

    Methods

    | Edit this page View Source

    CreateLogic(Attributes)

    TBD

    Declaration
    protected override GraphStageLogic CreateLogic(Attributes inheritedAttributes)
    Parameters
    Type Name Description
    Attributes inheritedAttributes

    TBD

    Returns
    Type Description
    GraphStageLogic

    TBD

    Overrides
    GraphStage<UniformFanInShape<TIn, TOut>>.CreateLogic(Attributes)
    | Edit this page View Source

    In(int)

    TBD

    Declaration
    public Inlet<TIn> In(int id)
    Parameters
    Type Name Description
    int id

    TBD

    Returns
    Type Description
    Inlet<TIn>

    TBD

    | Edit this page View Source

    ToString()

    TBD

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    TBD

    Overrides
    object.ToString()

    Implements

    IGraphStageWithMaterializedValue<TShape, TMaterialized>
    IGraph<TShape, TMaterialized>
    IGraph<TShape>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    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