Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Jun 26, 2024
1 parent f3c41bb commit 4f183bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/model/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,9 @@ type ExperimentBuilder interface {
SetOptionsAny(options map[string]any) error

// SetOptionsJSON uses the given [json.RawMessage] to initialize fields
// of the configuration for running the experiment. The [json.RawMessage]
// MUST contain a serialization of the experiment config's type.
// of the configuration for running the experiment. The [json.RawMessage], if
// not empty, MUST contain a serialization of the experiment config's
// type. An empty [json.RawMessage] will silently be ignored.
SetOptionsJSON(value json.RawMessage) error

// SetCallbacks sets the experiment's interactive callbacks.
Expand Down

0 comments on commit 4f183bd

Please sign in to comment.