This function is similar to like waitFor but it will wait until the resolver returns a truthy value. If the resolver throws an error, the function rejects immediately.
resolver
Optional
waitFor
This function is similar to like waitFor but it will wait until the
resolver
returns a truthy value. If theresolver
throws an error, the function rejects immediately.