Click or drag to resize
Akka.NETOrElseT Class
Takes two streams and passes the first through, the secondary stream is only passed through if the primary stream completes without passing any elements through. When the first element is passed through from the primary the secondary is cancelled. Both incoming streams are materialized when the stage is materialized. On errors the stage is failed regardless of source of the error. '''Emits when''' element is available from primary stream or the primary stream closed without emitting any elements and an element is available from the secondary stream '''Backpressures when''' downstream backpressures '''Completes when''' the primary stream completes after emitting at least one element, when the primary stream completes without emitting and the secondary stream already has completed or when the secondary stream completes '''Cancels when''' downstream cancels
Inheritance Hierarchy
SystemObject
  Akka.Streams.StageGraphStageWithMaterializedValueUniformFanInShapeT, T, NotUsed
    Akka.Streams.StageGraphStageUniformFanInShapeT, T
      Akka.Streams.DslOrElseT

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

Type Parameters

T
TBD

The OrElseT type exposes the following members.

Constructors
Properties
Methods
  NameDescription
Public methodAddAttributes
TBD
(Inherited from GraphStageWithMaterializedValueTShape, TMaterialized.)
Public methodAsync
TBD
(Inherited from GraphStageWithMaterializedValueTShape, TMaterialized.)
Protected methodCreateLogic
TBD
(Overrides GraphStageTShapeCreateLogic(Attributes).)
Public methodCreateLogicAndMaterializedValue
TBD
(Inherited from GraphStageTShape.)
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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNamed
TBD
(Inherited from GraphStageWithMaterializedValueTShape, TMaterialized.)
Public methodToString
TBD
(Overrides ObjectToString.)
Public methodWithAttributes
TBD
(Inherited from GraphStageWithMaterializedValueTShape, TMaterialized.)
Top
Extension Methods
See Also