| SinkLastTIn Method |
A
SinkTIn, TMat that materializes into a
TaskTResult of the last value received.
If the stream completes before signaling at least a single element, the Task will be failed with a
NoSuchElementException.
If the stream signals an error errors before signaling at least a single element, the Task will be failed with the streams exception.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Sink<TIn, Task<TIn>> Last<TIn>()
static member Last : unit -> Sink<'TIn, Task<'TIn>>
Type Parameters
- TIn
- TBD
Return Value
Type:
SinkTIn,
TaskTInTBD
See Also