SharedKillSwitch Class |
Namespace: Akka.Streams
The SharedKillSwitch type exposes the following members.
Name | Description | |
---|---|---|
Abort |
After calling Abort(Exception) all materialized, running instances of all IGraphTShapes provided by the
SharedKillSwitch will fail their downstreams with the provided exception and cancel their upstreams
(unless it finished or failed already in which case the command is ignored). Subsequent invocations of
Shutdown and Abort(Exception) will be ignored.
These provided IGraphTShapes materialize to their owning switch. This might make certain integrations simpler than
passing around the switch instance itself.
| |
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.) | |
FlowT |
Returns a typed Flow of a requested type that will be linked to this SharedKillSwitch instance. By invoking
Shutdown or Abort(Exception) all running instances of all provided IGraphTShapes by this
switch will be stopped normally or failed.
| |
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.) | |
Shutdown |
After calling Shutdown all materialized, running instances of all IGraphTShapes provided by the
SharedKillSwitch will complete their downstreams and cancel their upstreams (unless if finished or failed already in which
case the command is ignored). Subsequent invocations of Shutdown and Abort(Exception) will be
ignored.
| |
ToString |
TBD
(Overrides ObjectToString.) |
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.) |