Debugger.PromiseDetails

Information about the promise. All fields but id are optional and if present they reflect the new state of the property on the promise with given id.

{
  "id": "PromiseDetails",
  "type": "object",
  "description": "Information about the promise. All fields but id are optional and if present they reflect the new state of the property on the promise with given id.",
  "properties": [
    {
      "name": "id",
      "type": "integer",
      "description": "Unique id of the promise."
    },
    {
      "name": "status",
      "type": "string",
      "optional": true,
      "enum": [
        "pending",
        "resolved",
        "rejected"
      ],
      "description": "Status of the promise."
    },
    {
      "name": "parentId",
      "type": "integer",
      "optional": true,
      "description": "Id of the parent promise."
    },
    {
      "name": "callFrame",
      "$ref": "Console.CallFrame",
      "optional": true,
      "description": "Top call frame on promise creation."
    },
    {
      "name": "creationTime",
      "type": "number",
      "optional": true,
      "description": "Creation time of the promise."
    },
    {
      "name": "settlementTime",
      "type": "number",
      "optional": true,
      "description": "Settlement time of the promise."
    },
    {
      "name": "creationStack",
      "$ref": "Console.StackTrace",
      "optional": true,
      "description": "JavaScript stack trace on promise creation."
    },
    {
      "name": "asyncCreationStack",
      "$ref": "Console.AsyncStackTrace",
      "optional": true,
      "description": "JavaScript asynchronous stack trace on promise creation, if available."
    },
    {
      "name": "settlementStack",
      "$ref": "Console.StackTrace",
      "optional": true,
      "description": "JavaScript stack trace on promise settlement."
    },
    {
      "name": "asyncSettlementStack",
      "$ref": "Console.AsyncStackTrace",
      "optional": true,
      "description": "JavaScript asynchronous stack trace on promise settlement, if available."
    }
  ],
  "hidden": true
}