Reflection to know if executed within a generator/async ?
Tab Atkins Jr.
jackalmage at gmail.com
Tue Dec 8 17:46:22 UTC 2015
On Tue, Dec 8, 2015 at 9:44 AM, Andrea Giammarchi
<andrea.giammarchi at gmail.com> wrote:
> yup, that's what my library does as well. I thought Bergi meant in absolute.
I can't speak for Bergi, but yeah, I assume he was talking about a
function returning a promise or not based on something other than
overloads, such as the value of certain arguments, or the syntactic
location in a greater expression.
More information about the es-discuss