[sleep]

sleep is a core slot, one of the keywords of the Hyperlambda language, in Hyperlambda, the language of Magic Cloud. Delays execution for the specified number of milliseconds.

  • Value (timeout-ms,integer,number), required: Delay in milliseconds

Guide

How to use sleep

JSON declaration

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

JSON declaration
{
  "name": "sleep",
  "description": "Delays execution for the specified number of milliseconds",
  "signature": {
    "input": {
      "kind": "timeout-ms,integer,number",
      "description": "Delay in milliseconds",
      "required": true,
      "mode": "ValueOrExpression"
    }
  }
}

← signal all core slots sort →