EvaluationEvent
Defined in: evaluation-sink.ts:24
One resolved evaluation, delivered to an EvaluationListener.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
at |
string |
ISO-8601 timestamp of the evaluation. | evaluation-sink.ts:41 |
context |
EvaluationContext |
The evaluation context (targeting key + attributes). | evaluation-sink.ts:35 |
environmentKey |
string |
- | evaluation-sink.ts:37 |
errorCode? |
string |
An error code when the evaluation did not resolve normally. | evaluation-sink.ts:33 |
flagKey |
string |
- | evaluation-sink.ts:25 |
projectKey |
string |
- | evaluation-sink.ts:36 |
reason |
string |
The outcome reason as surfaced to the caller (e.g. TARGETING_MATCH, ERROR). |
evaluation-sink.ts:31 |
source |
"provider" | "ofrep" |
Where the evaluation came from: the in-process provider or the OFREP HTTP endpoint. | evaluation-sink.ts:39 |
value |
| FlagValue | undefined |
The resolved value (the caller’s default on error). | evaluation-sink.ts:27 |
variant? |
string |
The resolved variant key, when known. | evaluation-sink.ts:29 |