A function with no arguments to check if the desired conditions are currently met. The return value will be evaluated to boolean.
Optional
frequency: number = 100How often should we check? Defaults to 100ms.
A promise that will be resolved once the conditionCheck function
returns true
or a truthy value
Generated using TypeDoc
Wait until the conditionCheck function return value evaluates to true.