.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    InitializeAsync Method

    InitializeAsync(int)

    Tries to initialize this semaphore instance with the specified number of permits.

    Declaration
    Task<bool> InitializeAsync(int permits = 1)
    Parameters
    int permits

    The number of permits.

    Returns
    Task<bool>

    true if initialization succeeded; otherwise false (when already initialized).

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.