1
0
Fork 0
js-utils/docs/api/js-utils.waitfor.md

29 lines
592 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [waitFor](./js-utils.waitfor.md)
## waitFor() function
> Warning: This API is now obsolete.
>
>
<b>Signature:</b>
```typescript
export declare function waitFor(cb: PredicateC0, step: number, tries: number): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| cb | PredicateC0 | |
| step | number | |
| tries | number | |
<b>Returns:</b>
Promise&lt;void&gt;