Full threaddavidkpiano·There are a lot of resources on finite state machines, especially in TypeScript, here: https://stately.ai/docs/state-machines-and-statechartsView on HN