HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Method GetUsageAsync

    GetUsageAsync(CancellationToken)

    Gets how much the store holds and how much it can hold.

    Declaration
    ValueTask<ShortLivedStoreUsage> GetUsageAsync(CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    A token to cancel the operation.

    Returns
    Type Description
    ValueTask<ShortLivedStoreUsage>
    Remarks

    Values that the store can't tell are null, and a store that can tell none returns Unknown. The health checks of the toolkit's stores read it when they run (see AddShortLivedStoreCheck(IHealthChecksBuilder, string?, string?, HealthStatus?, IEnumerable<string>?)), and nothing reads it on the path of a request.

    © Singulink. All rights reserved.