Optional
debug?: booleanOptional
fetchThe number of retries to attempt before failing
Optional
fetchRetry backoff maximum in milliseconds. If the scaled backoff is greater than the max, the max is used for all subsequent retries.
Optional
fetchRetry backoff minimum (starting backoff delay) in milliseconds. The minimum backoff is scaled by
fetchRetryBackoffScalar
after each retry failure.
Optional
fetchScales the minimum backoff exponentially.
Optional
fetchThe request timeout for retrying fetch requests.
Optional
fetchThe request socket timeout, in milliseconds.
Optional
httpThe agent used to send http requests.
Optional
serverThe server endpoint from which to request variants. For hitting the EU data center, use serverZone. Setting this value will override serverZone defaults.
Optional
serverSelect the Amplitude data center to get flags and variants from, us
or eu
.
Set to true to log some extra information to the console.