Open Acconut opened 2 years ago
First attempt at a state transition chart:
Public interface for controlling uploads:
Maybe, XState helps here? Checking their tutorial and that they can invoke services, I thought, it could be a good thing to use?
XState is a promising library for JavaScript, thanks for sharing! This issue is also intended to look into ways how we can build state machines that are shared across different programming languages. That could allow reusing the state machines in our JavaScript, Python, Swift and Java clients without the need of re-implementing the same logic everywhere. However, I haven't spent enough time on it yet to see if such a tooling already exists.