SimulationHandler
Utility to control simulation lifecycle through GraphQL operations.
Parameters
graphqlClient
the GraphQL client connected to the server.
Functions
Link copied to clipboard
Pauses the simulation and returns the mutation data.
Link copied to clipboard
Starts or resumes the simulation and returns the mutation data. The method checks that the returned status is "RUNNING" and throws an exception otherwise.
Link copied to clipboard
Terminates the simulation and returns the mutation data.