Skip to content
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

onIdle settles before the (only one) pending promise #40

Closed
JumpLink opened this issue Aug 9, 2018 · 1 comment
Closed

onIdle settles before the (only one) pending promise #40

JumpLink opened this issue Aug 9, 2018 · 1 comment

Comments

@JumpLink
Copy link

JumpLink commented Aug 9, 2018

If I only add one promise to the queue, onIdle settles before the added / pending promise is settled.
With multiple promise, this issue does not occur.

@JumpLink
Copy link
Author

JumpLink commented Aug 13, 2018

Okay looks like it was my own misstake.
I need to look for the onIdle promise after I pused the promise, not before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant