> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.timers.Wait

- Component: `appmixer.utils.timers.Wait`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.timers 1.5.3](https://connectors.appmixer.com/connector/appmixer.utils.timers/1.5.3.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.timers/1.5.3/component/appmixer.utils.timers.Wait>

This component receives a message and waits for provided time (interval) to send original message to output port.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Interval - [number][unit] - ex: 5m (`interval`) | text | Unit may be m - minutes, h - hours, d - days, w - weeks, M - months, y - years, example: 5m, 7d |
| Until (`until`) | date-time | Wait until date and time. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.timers.Wait",
  "author": "Tomasz Hencel <thencel@ntrc.eu>",
  "description": "This component receives a message and waits for provided time (interval) to send original message to output port.",
  "outPorts": [
    "out"
  ],
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "interval": {
                "type": "string",
                "pattern": "^[0-9]+[mhdwMy]{1}$"
              }
            },
            "required": [
              "interval"
            ]
          },
          {
            "additionalProperties": false,
            "properties": {
              "until": {
                "type": "string",
                "oneOf": [
                  {
                    "format": "date-time"
                  },
                  {
                    "format": "date"
                  }
                ]
              }
            },
            "required": [
              "until"
            ]
          }
        ]
      },
      "inspector": {
        "inputs": {
          "interval": {
            "type": "text",
            "index": 1,
            "label": "Interval - [number][unit] - ex: 5m",
            "group": "transformation",
            "tooltip": "Unit may be m - minutes, h - hours, d - days, w - weeks, M - months, y - years, example: 5m, 7d"
          },
          "until": {
            "type": "date-time",
            "index": 2,
            "label": "Until",
            "group": "transformation",
            "tooltip": "Wait until date and time."
          }
        },
        "groups": {
          "transformation": {
            "label": "Transformation"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
