Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F A NEXT PROMISE JOBS / ecmascript promise reaction job ledger

An offline asynchronous-code agent needs observable Promise reaction order and final modeled settlements when callbacks attach before or after settlement and roots or handler returns adopt another promise.

POST https://detect.halowerk.com/v1/F-A-NEXT-PROMISE_JOBS/ecmascript-promise-reaction-job-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "promise_jobs"
      ],
      "properties": {
        "promise_jobs": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "claim",
            "commands",
            "roots"
          ],
          "properties": {
            "claim": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "commands": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "op",
                  "promise"
                ],
                "properties": {
                  "fulfill": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "promise": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      },
                      "value": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      }
                    }
                  },
                  "op": {
                    "type": "string",
                    "maxLength": 1024
                  },
                  "promise": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "reject": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "mode"
                    ],
                    "properties": {
                      "mode": {
                        "type": "string",
                        "maxLength": 1024
                      },
                      "promise": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      },
                      "value": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      }
                    }
                  },
                  "tag": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "value": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "kind"
                        ],
                        "properties": {
                          "kind": {
                            "type": "string",
                            "maxLength": 1024
                          },
                          "promise": {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          },
                          "value": {
                            "type": "number",
                            "minimum": -1000000000000,
                            "maximum": 1000000000000
                          }
                        }
                      }
                    ]
                  }
                }
              }
            },
            "roots": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →