Complete this output port.
Fail this output port.
Returns true
if this output port can be pushed.
Returns true
if this output port is closed, but caution
THIS WORKS DIFFERENTLY THAN THE NORMAL isClosed(out).
Returns true
if this output port is closed, but caution
THIS WORKS DIFFERENTLY THAN THE NORMAL isClosed(out).
Due to possibly asynchronous shutdown it may not return
true
immediately after complete()
or fail()
have returned.
Push to this output port.
Set OutHandler for this dynamic output port; this needs to be done before the first substream callback can arrive.
Get the Source for this dynamic output port.
Set the source into timed-out mode if it has not yet been materialized.
INTERNAL API
This allows the dynamic creation of an Outlet for a GraphStage which is connected to a Source that is available for materialization (e.g. using the
subFusingMaterializer
). Care needs to be taken to complete this Outlet when the operator shuts down lest the corresponding Sink be left hanging. It is good practice to use thetimeout
method to cancel this Outlet in case the corresponding Source is not materialized within a given time limit, see e.g. ActorMaterializerSettings.