7 ms·
I'm not sure how they're handled internally, but async functions are no longer generators. For a while after generators and before async/await, generators were
by Scooty 7y ago
I'm not sure how they're handled internally, but async functions are no longer generators. For a while after generators and before async/await, generators were used as a polyfill.
- pitaj 7y agoBecause of how similar they are, it would make sense to implement async/await using existing generator backends in the VM, right?