KillSwitch
org.apache.pekko.stream.KillSwitch
trait KillSwitch
A KillSwitch allows completion of Graphs from the outside by completing Graphs of FlowShape linked to the switch. Depending on whether the KillSwitch 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.
Attributes
- Source
- KillSwitch.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class SharedKillSwitchclass UniqueKillSwitch
Members list
In this article