PrepareRetries.Result
Namespace: Vercel.AI.Util
public sealed class PrepareRetries.ResultResult of Int32).
Inheritance: object
Constructors
Section titled “Constructors”Result(int, RetryWithExponentialBackoffRespectingRetryHeaders)
Section titled “Result(int, RetryWithExponentialBackoffRespectingRetryHeaders)”public Result(int maxRetries, RetryWithExponentialBackoffRespectingRetryHeaders retry)Creates the prepared retry settings.
Parameters
| Name | Type | Description |
|---|---|---|
maxRetries |
int | |
retry |
RetryWithExponentialBackoffRespectingRetryHeaders |
Properties
Section titled “Properties”MaxRetries
Section titled “MaxRetries”public int MaxRetries { get; }Retry count after validation, or the default.
Value: int
public RetryWithExponentialBackoffRespectingRetryHeaders Retry { get; }Retry strategy bound to that count.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product