RemoteEvaluationConfig: {
    debug?: boolean;
    fetchRetries?: number;
    fetchRetryBackoffMaxMillis?: number;
    fetchRetryBackoffMinMillis?: number;
    fetchRetryBackoffScalar?: number;
    fetchRetryTimeoutMillis?: number;
    fetchTimeoutMillis?: number;
    httpAgent?: https.Agent;
    serverUrl?: string;
}

Type declaration

  • Optional debug?: boolean

    Set to true to log some extra information to the console.

  • Optional fetchRetries?: number

    The number of retries to attempt before failing

  • Optional fetchRetryBackoffMaxMillis?: number

    Retry backoff maximum in milliseconds. If the scaled backoff is greater than the max, the max is used for all subsequent retries.

  • Optional fetchRetryBackoffMinMillis?: number

    Retry backoff minimum (starting backoff delay) in milliseconds. The minimum backoff is scaled by fetchRetryBackoffScalar after each retry failure.

  • Optional fetchRetryBackoffScalar?: number

    Scales the minimum backoff exponentially.

  • Optional fetchRetryTimeoutMillis?: number

    The request timeout for retrying fetch requests.

  • Optional fetchTimeoutMillis?: number

    The request socket timeout, in milliseconds.

  • Optional httpAgent?: https.Agent

    The agent used to send http requests.

  • Optional serverUrl?: string

    The server endpoint from which to request variants.