pl.wendigo.chrome.api.runtime / AwaitPromiseResponse

AwaitPromiseResponse

data class AwaitPromiseResponse (source)

Represents response frame that is returned from Runtime#awaitPromise operation call. Add handler to promise with given promise object id.

Link
Runtime#awaitPromise method documentation.

See Also

RuntimeOperations.awaitPromise

Constructors

<init>

AwaitPromiseResponse(result: RemoteObject, exceptionDetails: ExceptionDetails? = null)

Represents response frame that is returned from Runtime#awaitPromise operation call. Add handler to promise with given promise object id.

Properties

exceptionDetails

val exceptionDetails: ExceptionDetails?

Exception details if stack strace is available.

result

val result: RemoteObject

Promise result. Will contain rejected value if promise was rejected.