2 ms·
In short: Generators are useful when you use callbacks to wait for the server to finish doing something (eg. finish a DB update or an HTTP request) Continuatio
by gcr 13y ago
In short: Generators are useful when you use callbacks to wait for the server to finish doing something (eg. finish a DB update or an HTTP request)
Continuations are useful when you're waiting for the user to finish doing something (eg. an HTTP response, not a request).
So they do solve different problems.