◆ Evaluator()
launchdarkly::server_side::evaluation::Evaluator::Evaluator |
( |
Logger & |
logger, |
|
|
data_interfaces::IStore const & |
source |
|
) |
| |
Constructs a new Evaluator. Since the Evaluator may be used by multiple threads in parallel, the given logger and IStore must be thread safe.
- Parameters
-
logger | A logger for recording errors or warnings. |
source | The flag/segment source. |
◆ Evaluate() [1/2]
Evaluates a flag for a given context. Does not record prerequisite events.
- Parameters
-
flag | The flag to evaluate. |
context | The context to evaluate the flag against. |
◆ Evaluate() [2/2]
Evaluates a flag for a given context.
- Parameters
-
flag | The flag to evaluate. |
context | The context to evaluate the flag against. |
stack | The evaluation stack used for detecting circular references. |
event_scope | The event scope used for recording prerequisite events. |
The documentation for this class was generated from the following files: