[execution.timeout]

execution.timeout is a slot in the execution namespace, in Hyperlambda, the language of Magic Cloud. Sets a timeout in milliseconds for the current execution.

  • Value (timeout-ms,integer,number), required: Timeout in milliseconds for the current execution
  • Returns: Returns true if the timeout was applied

Guide

How to use execution.timeout

JSON declaration

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

JSON declaration
{
  "name": "execution.timeout",
  "description": "Sets a timeout in milliseconds for the current execution",
  "signature": {
    "input": {
      "kind": "timeout-ms,integer,number",
      "description": "Timeout in milliseconds for the current execution",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "boolean",
      "description": "Returns true if the timeout was applied"
    }
  }
}

← execution.throttle.create all execution.* slots