`t.inRange`
Richienb opened this issue · 0 comments
Richienb commented
Many use cases:
https://github.com/sindresorhus/p-throttle/blob/0ed167a1ab735288d8f2e96eee520f5067d06fe0/test.js#L62-L65
https://github.com/sindresorhus/delay/blob/6779d5ac90a34ec692a07389c11649e66e8a92a7/test.js#L9
https://github.com/sindresorhus/p-settle/blob/d6fadc5fa26f3832c04791399dbb7d4c8349a9b5/test.js#L76
...
We can have a better user experience out-of-the-box by specifying a more helpful default failure message: