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

30 lines
620 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.
>
> use `deferUntil` instead
>
<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;