.NET Client Documentation
5.2.2
Search Results for

    Show / Hide Table of Contents

    SubscribeAsync Method

    SubscribeAsync(Action<CollectionItemEventHandlers<T>>, bool, object)

    Subscribes to events.

    Declaration
    Task<Guid> SubscribeAsync(Action<CollectionItemEventHandlers<T>> events, bool includeValue = true, object state = null)
    Parameters
    Action<CollectionItemEventHandlers<T>> events

    An event handlers collection builder.

    bool includeValue

    Whether to include values in event arguments.

    object state

    A state object that will be passed to handlers.

    Returns
    Task<Guid>

    The unique identifier of the subscription.

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