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

28 lines
643 B
Markdown
Raw Normal View History

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