Deprecated

use RemoteEvaluationClient.

Hierarchy

Constructors

Methods

Constructors

Methods

  • Fetch remote evaluated variants for a user. This function can automatically retry the request on failure (if configured), and will throw the original error if all retries fail.

    Unlike fetch, this function returns a default variant object if the flag or experiment was evaluated, but the user was not assigned a variant (i.e. 'off').

    Parameters

    Returns Promise<Record<string, Variant>>