poll-until-promise

Try repeatedly for a promise to be resolved

Browse on unpkg