abstract class AbstractOutHandler extends OutHandler
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractOutHandler
- OutHandler
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AbstractOutHandler()
Abstract Value Members
- abstract def onPull(): Unit
Called when the output port has received a pull, and therefore ready to emit an element, i.e.
Called when the output port has received a pull, and therefore ready to emit an element, i.e. GraphStageLogic.push is now allowed to be called on this port.
- Definition Classes
- OutHandler
- Annotations
- @throws(classOf[Exception])
Concrete Value Members
- def onDownstreamFinish(cause: Throwable): Unit
Called when the output port will no longer accept any new elements.
Called when the output port will no longer accept any new elements. After this callback no other callbacks will be called for this port.
- Definition Classes
- OutHandler
- Annotations
- @throws(classOf[Exception])
Deprecated Value Members
- def onDownstreamFinish(): Unit
Called when the output port will no longer accept any new elements.
Called when the output port will no longer accept any new elements. After this callback no other callbacks will be called for this port.
- Definition Classes
- OutHandler
- Annotations
- @throws(classOf[Exception]) @deprecatedOverriding() @deprecated
- Deprecated
(Since version 2.6.0) Call onDownstreamFinish with a cancellation cause.
Java API: callbacks for an output port where termination logic is predefined (completing when downstream cancels).