AwaitPromiseRequest

@Serializable
data class AwaitPromiseRequest(val promiseObjectId: RemoteObjectId, val returnByValue: Boolean? = null, val generatePreview: Boolean? = null)

Request object containing input parameters for the RuntimeDomain.awaitPromise command.

Constructors

Link copied to clipboard
constructor(promiseObjectId: RemoteObjectId, returnByValue: Boolean? = null, generatePreview: Boolean? = null)

Types

Link copied to clipboard
class Builder(val promiseObjectId: RemoteObjectId)

A builder for AwaitPromiseRequest, which allows setting the optional parameters of the RuntimeDomain.awaitPromise command via a lambda.

Properties

Link copied to clipboard

Whether preview should be generated for the result.

Link copied to clipboard

Identifier of the promise.

Link copied to clipboard

Whether the result is expected to be a JSON object that should be sent by value.