edisonywh / gearbox

⚙️ Gearbox is a functional state machine with an easy-to-use API, inspired by both Fsm and Machinery
MIT License
180 stars 10 forks source link

Refactor to not use `use`? #7

Open edisonywh opened 4 years ago

edisonywh commented 4 years ago

Throwing out ideas here, but there's no real reason why Gearbox needs to be 'used', perhaps we could refactor and achieve the same by just using @behaviors, so all state machines need to adhere to a certain sets of behaviors?