---
title: activate()
framework: dispatch
role: symbol
role_heading: Instance Method
path: dispatch/dispatchsourceprotocol/activate()
---

# activate()

Activates the dispatch source.

## Declaration

```swift
func activate()
```

## See Also

### Activating, Suspending, and Resuming a Source

- [suspend()](dispatch/dispatchsourceprotocol/suspend().md)
- [resume()](dispatch/dispatchsourceprotocol/resume().md)
