2020-03-29 13:43:52 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [waitForChild](./js-utils.waitforchild.md)
|
|
|
|
|
|
|
|
## waitForChild() function
|
|
|
|
|
2021-08-08 00:34:19 +00:00
|
|
|
> Warning: This API is now obsolete.
|
|
|
|
>
|
2022-10-08 19:52:35 +00:00
|
|
|
> there are better libraries for this, like zx
|
2021-08-08 00:34:19 +00:00
|
|
|
>
|
2020-03-31 13:49:18 +00:00
|
|
|
|
2020-03-29 13:43:52 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
2020-03-31 04:37:58 +00:00
|
|
|
export declare function waitForChild(child: ChildStreams): Promise<ChildResult>;
|
2020-03-29 13:43:52 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-29 23:23:16 +00:00
|
|
|
| child | ChildStreams | |
|
2020-03-29 13:43:52 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2020-06-29 23:23:16 +00:00
|
|
|
Promise<[ChildResult](./js-utils.childresult.md)<!-- -->>
|
2020-03-29 13:43:52 +00:00
|
|
|
|