[execution.throttle]

execution.throttle is a slot in the execution namespace, in Hyperlambda, the language of Magic Cloud. Enforces a named throttle previously declared with [execution.throttle.create], throwing a 429 exception once the limit is exceeded.

  • Value (throttle-name), required: Name of the throttle to enforce, as previously declared with [execution.throttle.create]

Guide: How to use [execution.throttle]

JSON declaration

This is the complete declaration of execution.throttle, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "execution.throttle",
  "description": "Enforces a named throttle previously declared with [execution.throttle.create], throwing a 429 exception once the limit is exceeded",
  "signature": {
    "input": {
      "kind": "throttle-name",
      "description": "Name of the throttle to enforce, as previously declared with [execution.throttle.create]",
      "required": true,
      "mode": "ValueOrExpression"
    }
  }
}

← execution.kill all execution.* slots execution.throttle.create →