waitFor
waitFor
- waitFor(
params):Promise<boolean>
Returns a promise that is resolved only after the current call is in one of the specified states.
Parameters
Returns
Promise<boolean>
true if the requested states have been reached, false if they won’t be reached because the call ended.