---
title: "Timer"
description: "This page lists the Python SDK names for Timers."
canonical_url: "https://docs.superdurable.io/reference/python/timer/"
source: "docs/reference/python/timer.mdx"
locale: "en"
---

# Timer

This page lists the Python SDK names for [Timers](https://docs.superdurable.io/concepts/primitives/timer.md).
The doc comment of each API gives its parameters, defaults, and errors. Read
them in the [Python SDK API reference](https://docs.superdurable.io/reference/python.md#api-reference).

<a id="api-names"></a>

## API names

| Task                                  | Python API                                                        | Dex behavior                                                                                   |
| ------------------------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| Wait for a duration                   | **Timer.by_duration** in **wait_for**                             | [Firing time](https://docs.superdurable.io/reference/server/runtime-data.md#timer-firing-time) |
| Give the Timer a stable ID            | **condition_id** of **Timer.by_duration**                         | [AnyCombinationOf](https://docs.superdurable.io/reference/python/waits.md#anycombinationof)    |
| Combine a Timer with other conditions | **Wait.any_of**, **Wait.all_of**, and **Wait.any_combination_of** | [Waits](https://docs.superdurable.io/reference/python/waits.md)                                |
| Check whether a Timer fired           | **Context.has_timer_fired** in **execute**                        | [Condition results](https://docs.superdurable.io/reference/python/waits.md#condition-results)  |
| Make a waiting Timer ready now        | **Client.skip_timer**, with **StepExecutionId** and **TimerId**   | [Skip a Timer](https://docs.superdurable.io/reference/server/runtime-client.md#skip-a-timer)   |

<a id="example"></a>

## Example

Example: [examples/python/dex_examples/primitives/timer/timer_flow.py](https://github.com/superdurable/dex/tree/main/examples/python/dex_examples/primitives/timer/timer_flow.py)
