-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maximum call stack exceeded #9
Comments
The async bench assumes that at some point during a single iteration user land will advance JS a tick, thus closing the loop/stack. I'm not familiar enough with co to say for sure, but my guess is that this variation of co's usage is not hitting any of the I do know that with your
/cc @visionmedia |
I got same problem, while benchmarking |
@floatdrop On |
Yes, this solves it, thank you! |
It should be easy to let matcha determine if the callback was called in the same tick. It could then to the Or just use npm/dezalgo on the callback. |
tj/co#43
i'm guessing it's because of the callbacks and iteration count. any way of avoiding this?
The text was updated successfully, but these errors were encountered: