Show / Hide Table of Contents

    Interface ILazyMessageStreamEnumerable<TMessage>

    Represent a future IMessageStreamEnumerable<TMessage>, that will created as soon as the first message is pushed.

    Namespace: Silverback.Messaging.Messages
    Assembly: Silverback.Core.dll
    Syntax
    public interface ILazyMessageStreamEnumerable<out TMessage>
    Type Parameters
    Name Description
    TMessage

    The type of the messages being streamed.

    Properties

    | Improve this doc View source

    Stream

    Gets the IMessageStreamEnumerable<TMessage>, as soon as it is created.

    Declaration
    IMessageStreamEnumerable<out TMessage>? Stream { get; }
    Property Value
    Type Description
    IMessageStreamEnumerable<TMessage>

    Methods

    | Improve this doc View source

    WaitUntilCreatedAsync()

    Gets an awaitable Task that completes when the first message is pushed and the IMessageStreamEnumerable<TMessage> is created. The created stream can be retrieved via the Stream property.

    Declaration
    Task WaitUntilCreatedAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini