# task_wait

Wait for Watched Tasks

## Beschreibung

Yield your current task turn while waiting for subscribed tasks. No polling or empty progress comment is needed. Finish your response after calling; relevant changes resume this same task session automatically. Does not complete the task.

## Zugriff

Zugriffsprofil: `gated`. Module: `projects_tasks`, `simple_projects_tasks`.
Die Freigabe im Profil ersetzt keine Account-, Workspace- oder Rollenberechtigung.

## Parameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `account_id` | string | Ja |  |

## Eingabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "account_id": {
      "type": "string"
    }
  },
  "required": [
    "account_id"
  ],
  "type": "object"
}
```

## Ausgabeschema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "waiting": {
      "type": "boolean"
    },
    "pending_tasks": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "task_id": {
      "type": "string"
    }
  },
  "required": [
    "waiting",
    "pending_tasks",
    "task_id"
  ],
  "type": "object"
}
```
