SimulationProgressEvent
Progress event streamed while a simulation runs; the last event carries the terminal status
Fields
The simulation run this event belongs to
Status at the time of the event
Possible values (5)
QUEUEDAccepted and waiting for a simulation worker
RUNNINGA worker is replaying the scenario
COMPLETEDFinished; result is populated
FAILEDEnded without a result; error carries the cause
CANCELLEDCancelled by a user before completion
Samples finished so far
Samples the run will perform
Failure message when the run ended in error
Referenced by (1)
Exact type SDL
"""
Progress event streamed while a simulation runs; the last event carries the terminal status
"""
type SimulationProgressEvent {
"""The simulation run this event belongs to"""
runId: ScenarioSimulationRunID!
"""Status at the time of the event"""
status: SimulationRunStatus!
"""Samples finished so far"""
completedSamples: Int!
"""Samples the run will perform"""
totalSamples: Int!
"""Failure message when the run ended in error"""
error: String
}