3 ms·
True. That's the new kind of yield that requires language support and it's only available in async functions. I was referring to what happens when framework or
by hathawsh 7y ago
True. That's the new kind of yield that requires language support and it's only available in async functions. I was referring to what happens when framework or language designers try to allow something like the await keyword in non-async functions; it turns into an epic mess. I know because I tried (as a thought experiment.) :-)