5 ms·
yes, async/await and generators are the same construct, represented by two different syntaxes. Each can be implemented in terms of the other.
by adrusi 11y ago
yes, async/await and generators are the same construct, represented by two different syntaxes. Each can be implemented in terms of the other.