BroadcastHub Class |
Namespace: Akka.Streams.Dsl
The BroadcastHub type exposes the following members.
Name | Description | |
---|---|---|
BroadcastHub | Initializes a new instance of the BroadcastHub class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SinkT |
Creates a SinkTIn, TMat that receives elements from its upstream producer and broadcasts them to a dynamic set
of consumers. After the SinkTIn, TMat returned by this method is materialized, it returns a SourceTOut, TMat as materialized
value. This SourceTOut, TMat can be materialized arbitrary many times and each materialization will receive the
broadcast elements from the original SinkTIn, TMat.
Every new materialization of the SinkTIn, TMat results in a new, independent hub, which materializes to its own
SourceTOut, TMat for consuming the SinkTIn, TMat of that materialization.
If the original SinkTIn, TMat is failed, then the failure is immediately propagated to all of its materialized
SourceTOut, TMats (possibly jumping over already buffered elements). If the original SinkTIn, TMat is completed, then
all corresponding SourceTOut, TMats are completed. Both failure and normal completion is "remembered" and later
materializations of the SourceTOut, TMat will see the same (failure or completion) state. SourceTOut, TMats that are
cancelled are simply removed from the dynamic set of consumers.
| |
SinkT(Int32) |
Creates a SinkTIn, TMat that receives elements from its upstream producer and broadcasts them to a dynamic set
of consumers. After the SinkTIn, TMat returned by this method is materialized, it returns a SourceTOut, TMat as materialized
value. This SourceTOut, TMat can be materialized arbitrary many times and each materialization will receive the
broadcast elements form the original SinkTIn, TMat.
Every new materialization of the SinkTIn, TMat results in a new, independent hub, which materializes to its own
SourceTOut, TMat for consuming the SinkTIn, TMat of that materialization.
If the original SinkTIn, TMat is failed, then the failure is immediately propagated to all of its materialized
SourceTOut, TMats (possibly jumping over already buffered elements). If the original SinkTIn, TMat is completed, then
all corresponding SourceTOut, TMats are completed. Both failure and normal completion is "remembered" and later
materializations of the SourceTOut, TMat will see the same (failure or completion) state. SourceTOut, TMats that are
cancelled are simply removed from the dynamic set of consumers.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AsInstanceOfT |
TBD
(Defined by Extensions.) | |
Match | Overloaded.
Matches the specified target.
(Defined by PatternMatch.) | |
MatchT | Overloaded.
Matches the specified target and return a result of target processing.
(Defined by PatternMatch.) |