Skip to content
realitycheck edited this page Jun 26, 2022 · 10 revisions

1

2

3

b.fsm = fsm.Machine{
  Subject: b,
  Rules: fsm.CreateRuleset(T{"idle", "message"}, T{"message", "command"}, T{"command", "idle"})
}
b.fsmContext = FSMContext{...}
Clone this wiki locally