> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# alarm()

> **alarm**(`_info`): `Promise`\<`void`>

Reserved: the SDK claims the actor's alarm slot to drive the task
scheduler.

When the alarm fires, this drains every due task, dispatches each to the
method it names (or [`onTask`](/docs/agent-sdk/interface/onTask)), and re-arms the
alarm to the next deadline. **Do not override `alarm()` in an `Agent`
subclass** — doing so breaks `queue` / `schedule` / `every`. If you need
timed work, schedule a task instead.

**Parameters**

| Parameter | Type |
| - | - |
| `_info` | [`AlarmInfo`](/docs/edge-compute/stateful-actors/alarms) |

**Returns**

`Promise`\<`void`>

**Overrides**

[`StatefulActor`](/docs/edge-compute/stateful-actors/api-reference/base).[`alarm`](/docs/edge-compute/stateful-actors/api-reference/base)
