refactor(engine): allow scripts to register experiments (#860)
See https://github.com/ooni/probe/issues/2216
This commit is contained in:
parent
69602abe8a
commit
6a0ae5c70b
53 changed files with 1438 additions and 1200 deletions
|
|
@ -227,7 +227,7 @@ type taskExperimentBuilder interface {
|
|||
SetCallbacks(callbacks model.ExperimentCallbacks)
|
||||
|
||||
// InputPolicy returns the experiment's input policy.
|
||||
InputPolicy() engine.InputPolicy
|
||||
InputPolicy() model.InputPolicy
|
||||
|
||||
// NewExperiment creates the new experiment.
|
||||
NewExperimentInstance() taskExperiment
|
||||
|
|
|
|||
Loading…
Reference in a new issue