Skip to main content

AWAIT_PROMISE

Constant AWAIT_PROMISE 

Source
pub const AWAIT_PROMISE: &str = "Runtime.awaitPromise";
Expand description

Add handler to promise with given promise object id.

Parameters:

  • promiseObjectId: RemoteObjectId
  • returnByValue: boolean (optional)
  • generatePreview: boolean (optional)

Returns: result, exceptionDetails