p-wait-for

Wait for a condition to be true

MIT License

Downloads
4.3M
Stars
149
Committers
8

Bot releases are hidden (Show)

p-wait-for - Latest Release

Published by sindresorhus over 1 year ago

  • Fix incorrect timeout behavior (#28) b3f923e

https://github.com/sindresorhus/p-wait-for/compare/v5.0.1...v5.0.2

p-wait-for -

Published by sindresorhus over 1 year ago

  • Fix types to support returning boolean and resolveWith() in the same callback (#29) fee93a5

https://github.com/sindresorhus/p-wait-for/compare/v5.0.0...v5.0.1

p-wait-for -

Published by sindresorhus about 2 years ago

Breaking

  • Require Node.js 14 b83a409

Improvements

  • Expose all timeout options (#24) 1f5d760
  • Allow resolving with a custom value (#25) 65f3672

https://github.com/sindresorhus/p-wait-for/compare/v4.1.0...v5.0.0

p-wait-for -

Published by sindresorhus over 3 years ago

  • Export TimeoutError for instance checking 3201c2c

https://github.com/sindresorhus/p-wait-for/compare/v4.0.0...v4.1.0

p-wait-for -

Published by sindresorhus over 3 years ago

Breaking

  • Require Node.js 12 3a103c3
  • Rename leadingCheck option to before (#17) 6b338f1
  • This package is now pure ESM. Please read this.

https://github.com/sindresorhus/p-wait-for/compare/v3.2.0...v4.0.0

p-wait-for -

Published by sindresorhus almost 4 years ago

  • Allow disabling leading check (#14) 34f8c17

https://github.com/sindresorhus/p-wait-for/compare/v3.1.0...v3.2.0

p-wait-for -

Published by sindresorhus over 5 years ago

  • Refactor TypeScript definition to CommonJS compatible export (#9) 03421df

https://github.com/sindresorhus/p-wait-for/compare/v3.0.0...v3.1.0

p-wait-for -

Published by sindresorhus over 5 years ago

Breaking:

  • Require Node.js 8 (#8) bba1abe

Enhancements:

  • Add TypeScript definition (#8) bba1abe

https://github.com/sindresorhus/p-wait-for/compare/v2.0.1...v3.0.0