sindresorhus/p-wait-for

Does it limit the concurrency?

Closed this issue · 1 comments

Hello!

Thank you for this great library!

However, it's not clear from the documentation whether this library allows multiple promises to run concurrently (e.g. when one promise is not yet settled, but the next interval is reached). Looking at the code it actually waits the specified interval time after waiting for the promise to settle. Please correct me if I'm wrong.

I would suggest to clarify this in the README.

Thanks!

It will not run concurrently. I have clarified how the option works: 90351d5