News for hackers. Stuff that matters.
Re:Show HN: State Trooper – Tiny, no frills state machine fo... by hishamk on Sunday June 18, 2023 @05:19AM (#36378575)
Thanks for everyone's feedback. I've pushed out a few changes:

1- Regular slice instead of timestamp-keyed map. That didn't make sense in retrospect. 2- Better benchmarks. 3- Non-exported current state and transitions. Mutexed getters to avoid concurrency issues. 4- Variadic rule parameters. 5- Better example.

There are no comments on this comment yet.