ExecutionMode

@Serializable
enum ExecutionMode : Enum<ExecutionMode> (source)

Whether the scenarios in a ksl.app.config.RunConfiguration run one at a time or in parallel. Per scenario workflow §10:

  • SEQUENTIAL (default for new documents) — scenarios run one at a time in the user-authored order. Predictable progress reporting; no inter-scenario contention. Less surprising for new users.

  • CONCURRENT — scenarios run in parallel via the substrate's ConcurrentScenarioRunner. Parallelism is sized so each scenario has at least one core.

The mode is a property of the document so opening a saved RunConfiguration runs it the same way it last ran.

Substrate-prep only. The field is recorded on RunConfiguration.executionMode and round-trips through both codecs; ScenarioOrchestrator does not yet consume it. Honoring the mode at submit time lands in a separate commit alongside the runner-level sequential mode.

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.