| GraphStageLogicSetHandler Method (Inlet, Action, Action, ActionException) |
Assigns callbacks for the events for an
OutletT.
Namespace:
Akka.Streams.Stage
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax protected void SetHandler(
Inlet inlet,
Action onPush,
Action onUpstreamFinish = null,
Action<Exception> onUpstreamFailure = null
)
member SetHandler :
inlet : Inlet *
onPush : Action *
?onUpstreamFinish : Action *
?onUpstreamFailure : Action<Exception>
(* Defaults:
let _onUpstreamFinish = defaultArg onUpstreamFinish null
let _onUpstreamFailure = defaultArg onUpstreamFailure null
*)
-> unit
Parameters
- inlet
- Type: Akka.StreamsInlet
TBD - onPush
- Type: SystemAction
TBD - onUpstreamFinish (Optional)
- Type: SystemAction
TBD - onUpstreamFailure (Optional)
- Type: SystemActionException
TBD
Exceptions Exception | Condition |
---|
ArgumentNullException |
This exception is thrown when the specified [!:onPush] is undefined.
|
See Also