Package growthbook.sdk.java.callback
Interface ExperimentRunCallback
public interface ExperimentRunCallback
A callback to be executed with an
ExperimentResult
whenever an experiment is run.-
Method Summary
Modifier and TypeMethodDescription<ValueType>
voidonRun
(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult) A callback to be executed with anExperimentResult
whenever an experiment is run.
-
Method Details
-
onRun
<ValueType> void onRun(Experiment<ValueType> experiment, ExperimentResult<ValueType> experimentResult) A callback to be executed with anExperimentResult
whenever an experiment is run.- Parameters:
experimentResult
-ExperimentResult
-