Click or drag to resize
Akka.NETMergePreferred<T> Class
Merge several streams, taking elements as they arrive from input streams (picking from preferred when several have elements ready). A MergePreferred< T> has one Out port, one Preferred input port and 0 or more secondary In(Int32) ports.

Emits when one of the inputs has an element available, preferring a specified input if multiple have elements available

Backpressures when downstream backpressures

Completes when all upstreams complete (eagerComplete=false) or one upstream completes (eagerComplete=true)

Cancels when downstream cancels
Inheritance Hierarchy
System.Object
  Akka.Streams.Stage.GraphStageWithMaterializedValue<MergePreferred<T>.MergePreferredShape, NotUsed>
    Akka.Streams.Stage.GraphStage<MergePreferred<T>.MergePreferredShape>
      Akka.Streams.Dsl.MergePreferred<T>

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public sealed class MergePreferred<T> : GraphStage<MergePreferred< T> . MergePreferredShape>

Type Parameters

T
TBD

The MergePreferred< T> type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodAddAttributes
TBD
(Inherited from GraphStageWithMaterializedValue<TShape, TMaterialized>.)
Public methodAsync
TBD
(Inherited from GraphStageWithMaterializedValue<TShape, TMaterialized>.)
Protected methodCreateLogic
TBD
(Overrides GraphStage<TShape>.CreateLogic(Attributes).)
Public methodCreateLogicAndMaterializedValue
TBD
(Inherited from GraphStage<TShape>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIn
TBD
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNamed
TBD
(Inherited from GraphStageWithMaterializedValue<TShape, TMaterialized>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithAttributes
TBD
(Inherited from GraphStageWithMaterializedValue<TShape, TMaterialized>.)
Top
Extension Methods
See Also