Search Results for

    Show / Hide Table of Contents

    Interface ISinkQueue<T>

    Trait allows to have the queue as a sink for some stream. "SinkQueue" pulls data from stream with backpressure mechanism.

    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public interface ISinkQueue<T>
    Type Parameters
    Name Description
    T

    TBD

    Methods

    | Edit this page View Source

    PullAsync()

    Method pulls elements from stream and returns task that:

    - fails if stream is finished

    - completes with None in case if stream is completed after we got task

    - completes with `Some(element)` in case next element is available from stream.

    Declaration
    Task<Option<T>> PullAsync()
    Returns
    Type Description
    Task<Option<T>>

    TBD

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET