Package: wnpp Severity: wishlist * Package name : libjs-wait-until-promise Version : 1.0.0 Upstream Author : Simen Bekkhus <sbekkhu...@gmail.com> * URL : https://github.com/SimenB/wait-until-promise * License : MIT Programming Lang: JavaScript Description : test utility to simplify waiting for a condition
Usage To use it, import the module, and pass it a function. A promise is returned, and it is resolved after the passed function returns a truthy value. If the function passed never returns a truthy value, or it times out, the promise is rejected. Dependency for converse.js (#807275).