Click or drag to resize
Akka.NETSinkQueueTIn Method

Creates a SinkTIn, TMat that is materialized as an ISinkQueueT. PullAsync method is pulling element from the stream and returns TaskTResult. Task completes when element is available.

Before calling the pull method a second time you need to wait until previous future completes. Pull returns failed future with IllegalStateException if previous future has not yet completed.

SinkTIn, TMat will request at most number of elements equal to size of inputBuffer from upstream and then stop back pressure. You can configure size of input by using WithAttributes method.

For stream completion you need to pull all elements from ISinkQueueT including last None as completion marker.

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, ISinkQueue<TIn>> Queue<TIn>()

Type Parameters

TIn
TBD

Return Value

Type: SinkTIn, ISinkQueueTIn
TBD
See Also