Last 12 weeks · 0 commits
4 of 6 standards met
Summary This PR add support for aborting re-tries with an . This is similar to how it's being handled on other packages like https://github.com/sindresorhus/p-retry and https://github.com/sindresorhus/p-timeout. This is necessary because currently there's no way to stop the polling other than returning (which may need different handling than when the resolves with ). This PR is currently failing on CI because of an unrelated issue, I described it here along with a potential way of fixing it.
Repository: sindresorhus/p-wait-for. Description: Wait for a condition to be true Stars: 169, Forks: 20. Primary language: JavaScript. Languages: JavaScript (96.6%), TypeScript (3.4%). License: MIT. Latest release: v6.0.0 (11mo ago). Open PRs: 0, open issues: 0. Last activity: 11mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, ronami, BendingBender, bcomnes, jopemachine, henhal.