3 ms·
TCO is exactly as useful as async/await. Could you write an equivalent state machine manually? Yes. Do you want to? No.
by tomp 6y ago
TCO is exactly as useful as async/await. Could you write an equivalent state machine manually? Yes. Do you want to? No.
- eru 6y agoWhat do you mean by 'exactly as useful'? I can see how they are both useful, and there are even some problems were either approach works. But I don't see an exact correspondence?