docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IRetryPolicy

    Policy that determines if an operation must be retried based on the exception and number of retry attempts.

    Namespace: Unity.Services.Apis
    Assembly: solution.dll
    Syntax
    public interface IRetryPolicy

    Properties

    Policy

    Function that determines if and when an error must be retried based on the type and number of retry attempts. The task can implement exponential backoff if desired.

    Declaration
    Func<ApiResponse, int, Task<bool>> Policy { get; set; }
    Property Value
    Type Description
    Func<ApiResponse, int, Task<bool>>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)