puppeteer/new-docs/puppeteer.protocol.runtime.awaitpromiserequest.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [AwaitPromiseRequest](./puppeteer.protocol.runtime.awaitpromiserequest.md)
## Protocol.Runtime.AwaitPromiseRequest interface
<b>Signature:</b>
```typescript
export interface AwaitPromiseRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [generatePreview](./puppeteer.protocol.runtime.awaitpromiserequest.generatepreview.md) | boolean | Whether preview should be generated for the result. |
| [promiseObjectId](./puppeteer.protocol.runtime.awaitpromiserequest.promiseobjectid.md) | [RemoteObjectId](./puppeteer.protocol.runtime.remoteobjectid.md) | Identifier of the promise. |
| [returnByValue](./puppeteer.protocol.runtime.awaitpromiserequest.returnbyvalue.md) | boolean | Whether the result is expected to be a JSON object that should be sent by value. |