Packages

c

akka.stream.stage.GraphStageLogic

ConditionalTerminateInput

class ConditionalTerminateInput extends InHandler

Input handler that terminates the state upon receiving completion if the given condition holds at that time. The operator fails upon receiving a failure.

Source
GraphStage.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConditionalTerminateInput
  2. InHandler
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConditionalTerminateInput(predicate: () ⇒ Boolean)

Value Members

  1. def onPush(): Unit

    Called when the input port has a new element available.

    Called when the input port has a new element available. The actual element can be retrieved via the GraphStageLogic.grab() method.

    Definition Classes
    ConditionalTerminateInputInHandler
  2. def onUpstreamFailure(ex: Throwable): Unit

    Called when the input port has failed.

    Called when the input port has failed. After this callback no other callbacks will be called for this port.

    Definition Classes
    InHandler
    Annotations
    @throws( classOf[Exception] )
  3. def onUpstreamFinish(): Unit

    Called when the input port is finished.

    Called when the input port is finished. After this callback no other callbacks will be called for this port.

    Definition Classes
    ConditionalTerminateInputInHandler