.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    Message Method

    Message(Action<IHTopic<T>, TopicMessageEventArgs<T>>)

    Adds an handler which runs when a message is submitted.

    Declaration
    public TopicEventHandlers<T> Message(Action<IHTopic<T>, TopicMessageEventArgs<T>> handler)
    Parameters
    Action<IHTopic<T>, TopicMessageEventArgs<T>> handler

    The handler.

    Returns
    TopicEventHandlers<T>

    The handlers.

    Message(Func<IHTopic<T>, TopicMessageEventArgs<T>, ValueTask>)

    Adds an handler which runs when a message is submitted.

    Declaration
    public TopicEventHandlers<T> Message(Func<IHTopic<T>, TopicMessageEventArgs<T>, ValueTask> handler)
    Parameters
    Func<IHTopic<T>, TopicMessageEventArgs<T>, ValueTask> handler

    The handler.

    Returns
    TopicEventHandlers<T>

    The handlers.

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