28 lines
643 B
Markdown
28 lines
643 B
Markdown
<!-- 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
|
|
|
|
> Warning: This API is now obsolete.
|
|
>
|
|
> there are better libraries for this, like zx
|
|
>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function waitForChild(child: ChildStreams): Promise<ChildResult>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| child | ChildStreams | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<[ChildResult](./js-utils.childresult.md)<!-- -->>
|
|
|