# Interface: timers

> Timers (capability `timers`). Each fires `on-timer` with its id and tag.

Generated from `zaun:bot@0.2.0` (`wit/` in [zaun-bot](https://github.com/zaunchat/zaun-bot)). Do not edit.

Timers (capability `timers`). Each fires `on-timer` with its id and tag.

## Uses

- `use types.{host-error}`

## Functions

### `after`

```wit
after: func(ms: u64, tag: string) -> result<u64, host-error>;
```

Fires once after `ms`.

### `every`

```wit
every: func(ms: u64, tag: string) -> result<u64, host-error>;
```

Fires every `ms` (≥ 1000).

### `cancel`

```wit
cancel: func(id: u64);
```
