p-locate

Get the first fulfilled promise that satisfies the provided testing function

Browse on unpkg