Click or drag to resize
Akka.NETSinkFirstOrDefaultTIn Method
A SinkTIn, TMat that materializes into a TaskTResult of the first value received. If the stream completes before signaling at least a single element, the Task will return default value. 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>> FirstOrDefault<TIn>()

Type Parameters

TIn
TBD

Return Value

Type: SinkTIn, TaskTIn
TBD
See Also