public static class GraphStageLogic.ConditionalTerminateOutput extends java.lang.Object implements OutHandler
Constructor and Description |
---|
ConditionalTerminateOutput(scala.Function0<java.lang.Object> predicate) |
Modifier and Type | Method and Description |
---|---|
void |
onDownstreamFinish()
Called when the output port will no longer accept any new elements.
|
void |
onPull()
Called when the output port has received a pull, and therefore ready to emit an element, i.e.
|
public ConditionalTerminateOutput(scala.Function0<java.lang.Object> predicate)
public void onPull()
OutHandler
GraphStageLogic.push()
is now allowed to be called on this port.onPull
in interface OutHandler
public void onDownstreamFinish()
OutHandler
onDownstreamFinish
in interface OutHandler