For about a year, I knew what Javascript generators were, but had no experience using them in the wild. I saw an opportunity to try them out when w...
For further actions, you may consider blocking this person and/or reporting abuse
for the issue with state being Async, you can also use a callback function to ensure you are setting it to the correct value.
You are yielding
null
initially on the very first iteration. Therefore I guess this code won't work because of this test: