Packages

final case class AfterDelay(delay: FiniteDuration, strategy: Strategy) extends Strategy with Product with Serializable

Strategy that allows to delay any action when cancelStage is invoked.

The idea of this strategy is to delay any action on cancellation because it is expected that the stage is completed through another path in the meantime. The downside is that a stage and a stream may live longer than expected if no such signal is received and cancellation is invoked later on. In streams with many stages that all apply this strategy, this strategy might significantly delay the propagation of a cancellation signal because each upstream stage might impose such a delay. During this time, the stream will be mostly "silent", i.e. it cannot make progress because of backpressure, but you might still be able observe a long delay at the ultimate source.

Source
Attributes.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AfterDelay
  2. Serializable
  3. Product
  4. Equals
  5. Strategy
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AfterDelay(delay: FiniteDuration, strategy: Strategy)

Value Members

  1. val delay: FiniteDuration
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. val strategy: Strategy