---
title: fire()
framework: foundation
role: symbol
role_heading: Instance Method
path: foundation/timer/fire()
---

# fire()

Causes the timer’s message to be sent to its target.

## Declaration

```swift
func fire()
```

## Discussion

Discussion You can use this method to fire a repeating timer without interrupting its regular firing schedule. If the timer is non-repeating, it is automatically invalidated after firing, even if its scheduled fire date has not arrived.

## See Also

### Related Documentation

- [invalidate()](foundation/timer/invalidate().md)
