"Any generator or generator function you can pass into co can be yielded as well. This should generally be avoided as we should be moving towards spec-compliant Promises instead."
Cannot understand why should we generally not yield a generator ?
The spec does not say async call should only yield Promises.
"Any generator or generator function you can pass into co can be yielded as well. This should generally be avoided as we should be moving towards spec-compliant Promises instead."
Cannot understand why should we generally not yield a generator ?
The spec does not say async call should only yield Promises.