How to tell function and generator function apart?

Domenic Denicola d at domenic.me
Wed Mar 4 03:00:16 UTC 2015


That's not really the issue at hand, though. Your runner won't work with functions that manually return generator instances, due to its type-testing. Even if those functions return generator instances express a perfectly valid async program sequence.



More information about the es-discuss mailing list