ISourceQueueWithCompleteT Interface |
Namespace: Akka.Streams
The ISourceQueueWithCompleteT type exposes the following members.
Name | Description | |
---|---|---|
Complete |
Complete the stream normally. Use WatchCompletionAsync to be notified of this operation’s success.
| |
Fail |
Complete the stream with a failure. Use WatchCompletionAsync to be notified of this operation’s success.
| |
OfferAsync |
Method offers next element to a stream and returns task that:
(Inherited from ISourceQueueT.)- competes with QueueOfferResultEnqueued if element is consumed by a stream - competes with QueueOfferResultDropped when stream dropped offered element - competes with QueueOfferResultQueueClosed when stream is completed while task is active - competes with QueueOfferResultFailure when failure to enqueue element from upstream - fails if stream is completed or you cannot call offer in this moment because of implementation rules (like for backpressure mode and full buffer you need to wait for last offer call task completion. | |
WatchCompletionAsync |
Method returns task that completes when stream is completed and fails
when stream failed.
(Inherited from ISourceQueueT.) |