Search Results for

    Show / Hide Table of Contents

    Interface ISourceQueueWithComplete<T>

    This interface adds completion support to ISourceQueue<T>

    Inherited Members
    ISourceQueue<T>.OfferAsync(T)
    Namespace: Akka.Streams
    Assembly: Akka.Streams.dll
    Syntax
    public interface ISourceQueueWithComplete<in T> : ISourceQueue<T>
    Type Parameters
    Name Description
    T

    TBD

    Methods

    | Edit this page View Source

    Complete()

    Complete the stream normally. Use WatchCompletionAsync() to be notified of this operation’s success.

    Declaration
    void Complete()
    | Edit this page View Source

    Fail(Exception)

    Complete the stream with a failure. Use WatchCompletionAsync() to be notified of this operation’s success.

    Declaration
    void Fail(Exception ex)
    Parameters
    Type Name Description
    Exception ex

    TBD

    | Edit this page View Source

    WatchCompletionAsync()

    Method returns Task that will be completed if the stream completes, or will be failed when the stage faces an internal failure or the the Fail(Exception) method is invoked.

    Declaration
    Task WatchCompletionAsync()
    Returns
    Type Description
    Task

    Task

    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