Add nomove state transition option, session partitioned interactive example

This commit is contained in:
lash
2023-04-16 12:15:57 +01:00
parent bf1d634474
commit f06bca7abf
19 changed files with 177 additions and 73 deletions

View File

@@ -122,9 +122,10 @@ func main() {
OutputSize: uint32(size),
}
ctx := context.Background()
en, err := engine.NewEngine(cfg, &st, rs, ca, ctx)
en := engine.NewEngine(cfg, &st, rs, ca, ctx)
err := en.Init(ctx)
if err != nil {
fmt.Fprintf(os.Stderr, "engine create fail: %v\n", err)
fmt.Fprintf(os.Stderr, "engine init fail: %v\n", err)
os.Exit(1)
}