---
title: Executor
framework: swift
role: symbol
role_heading: Protocol
path: swift/executor
---

# Executor

A service that can execute jobs.

## Declaration

```swift
protocol Executor : AnyObject, Sendable
```

## Topics

### Instance Methods

- [enqueue(_:)](swift/executor/enqueue(_:)-2sc5t.md)
- [enqueue(_:)](swift/executor/enqueue(_:)-55qpq.md)
- [enqueue(_:)](swift/executor/enqueue(_:)-b90u.md)

## Relationships

### Inherits From

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

### Inherited By

- [SerialExecutor](swift/serialexecutor.md)
- [TaskExecutor](swift/taskexecutor.md)

## See Also

### Executors

- [ExecutorJob](swift/executorjob.md)
- [SerialExecutor](swift/serialexecutor.md)
- [TaskExecutor](swift/taskexecutor.md)
- [PartialAsyncTask](swift/partialasynctask.md)
- [UnownedJob](swift/unownedjob.md)
- [JobPriority](swift/jobpriority.md)
- [UnownedSerialExecutor](swift/unownedserialexecutor.md)
- [UnownedTaskExecutor](swift/unownedtaskexecutor.md)
- [globalConcurrentExecutor](swift/globalconcurrentexecutor.md)
- [withTaskExecutorPreference(_:isolation:operation:)](swift/withtaskexecutorpreference(_:isolation:operation:).md)
