.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    SubscribeAsync Method

    SubscribeAsync(Action<ReliableTopicEventHandlers<T>>, ReliableTopicEventHandlerOptions, object)

    Subscribes to this reliable topic.

    Declaration
    Task<Guid> SubscribeAsync(Action<ReliableTopicEventHandlers<T>> events, ReliableTopicEventHandlerOptions handlerOptions = null, object state = null)
    Parameters
    Action<ReliableTopicEventHandlers<T>> events

    Set action to be executed on the received message.

    ReliableTopicEventHandlerOptions handlerOptions

    Options for ReliableTopicEventHandlers<T>

    object state

    A state object.

    Returns
    Task<Guid>
    Remarks

    Each subscription has its own thread to process messages.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.