feat: engine -> process, engine is now a factory for a proces

This commit is contained in:
2026-02-05 14:20:30 -05:00
parent 5f6a9f9663
commit 22e8a99362
7 changed files with 90 additions and 41 deletions

View File

@@ -1,6 +1,10 @@
package engine
type Engine[T any] interface {
Load() Process[T]
}
type Process[T any] interface {
Get() (T, error)
Set(T) error
Step(int) bool