29 lines
592 B
Markdown
29 lines
592 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [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<void>
|
|
|