central-arch/pkg/simstep/stepper.go
2024-11-01 11:54:59 +01:00

18 lines
275 B
Go

package simstep
import (
"errors"
"git.elyanpoujol.fr/elyan/central-arch/pkg/events"
)
var SimQuitRequest = errors.New("simulation quit requested")
type SimStepRequest interface {
events.SimEvent
}
type SimStepper interface {
RequestStep(req SimStepRequest) error
}