AwaitPromiseRequest

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

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)

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
val returnByValue: Boolean? = null

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