ResumeLogic

io.github.srs.model.logic.ResumeLogic
trait ResumeLogic[S <: State]

Logic for handling simulation status changes: resume.

Type parameters

S

the type of the simulation state.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def resume(s: S): IO[S]

Resumes the simulation by updating its status.

Resumes the simulation by updating its status.

Value parameters

s

the current simulation state.

Attributes

Returns

an IO effect that produces the updated simulation state with status set to SimulationStatus.RUNNING.