Interface IKillSwitch
A IKillSwitch allows completion of IGraph<TShape>s from the outside by completing IGraph<TShape>s of FlowShape<TIn, TOut> linked to the switch. Depending on whether the IKillSwitch is a UniqueKillSwitch or a SharedKillSwitch one or multiple streams might be linked with the switch. For details see the documentation of the concrete subclasses of this interface.
Namespace: Akka.Streams
Assembly: Akka.Streams.dll
Syntax
public interface IKillSwitch
Methods
| Improve this Doc View SourceAbort(Exception)
After calling Abort(Exception) the linked IGraph<TShape>s of FlowShape<TIn, TOut> are failed.
Declaration
void Abort(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause | TBD |
Shutdown()
After calling Shutdown() the linked IGraph<TShape>s of FlowShape<TIn, TOut> are completed normally.
Declaration
void Shutdown()