4 ms·
However, if you need a state machine, async/await is a super-elegant way to express it. No other language provides as nice way to do it. I believe best you can
by _flux 2y ago
However, if you need a state machine, async/await is a super-elegant way to express it. No other language provides as nice way to do it.
I believe best you can do in other languages is using continuations as the state.
- worik 2y agoState machines are the easy part.
- metaltyphoon 2y agoC# async transform into a state machine too.