 | SinkOnCompleteTIn Method |
A
SinkTIn, TMat that when the flow is completed, either through a failure or normal
completion, apply the provided function with
success or
failure.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic static Sink<TIn, NotUsed> OnComplete<TIn>(
Action success,
Action<Exception> failure
)
static member OnComplete :
success : Action *
failure : Action<Exception> -> Sink<'TIn, NotUsed>
Parameters
- success
- Type: SystemAction
TBD - failure
- Type: SystemActionException
TBD
Type Parameters
- TIn
- TBD
Return Value
Type:
SinkTIn,
NotUsedTBD
See Also