pentf
Preparing search index...
assert_utils
waitFor
Function waitFor
waitFor
(
testfunc
:
()
=>
any
,
options
?:
{
checkEvery
?:
number
;
message
?:
string
;
timeout
?:
number
}
,
)
:
Promise
<
void
>
Wait until a function returns a result that is truthy
Parameters
testfunc
:
()
=>
any
Optional
options
:
{
checkEvery
?:
number
;
message
?:
string
;
timeout
?:
number
}
= {}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
pentf
Loading...
Wait until a function returns a result that is truthy