resolve-when (npm): Returns a promise that resolves once condition is met
Keywords: promise|promises|until|async|await|poll|polling|wait|waits|for|resolve|resolves|reject|rejects|bluebird|sleep|asynchronous|javascript|nodejs