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()
OutHandlerGraphStageLogic.push()
is now allowed to be called on this port.onPull in interface OutHandlerpublic void onDownstreamFinish()
OutHandleronDownstreamFinish in interface OutHandler