Click or drag to resize
Akka.NETGraphStageLogicSubSourceOutletT Class
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 stage shuts down lest the corresponding Sink be left hanging. It is good practice to use the Timeout(TimeSpan) method to cancel this Outlet in case the corresponding Source is not materialized within a given time limit, see e.g. ActorMaterializerSettings.
Inheritance Hierarchy

Namespace:  Akka.Streams.Stage
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: (
protected class SubSourceOutlet<T>

Type Parameters


The GraphStageLogicSubSourceOutletT type exposes the following members.

Public propertyIsAvailable
Returns true if this output port can be pushed.
Public propertyIsClosed
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(Exception) have returned.
Public propertySource
Get the Source for this dynamic output port.
Public methodComplete
Complete this output port.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFail
Fail this output port.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPush
Push to this output port.
Public methodSetHandler
Set OutHandler for this dynamic output port; this needs to be done before the first substream callback can arrive.
Public methodTimeout
Set the source into timed-out mode if it has not yet been materialized.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Extension Methods
See Also