---
title: "async(execute:)"
framework: dispatch
role: symbol
role_heading: Instance Method
path: "dispatch/dispatchqueue/async(execute:)"
---

# async(execute:)

Schedules a work item for immediate execution, and returns immediately.

## Declaration

```swift
func async(execute workItem: DispatchWorkItem)
```

## Parameters

- `workItem`: The work item containing the task to execute. For information on how to create this work item, see doc://com.apple.dispatch/documentation/Dispatch/DispatchWorkItem.

## See Also

### Executing Tasks Asynchronously

- [asyncAfter(deadline:execute:)](dispatch/dispatchqueue/asyncafter(deadline:execute:).md)
- [asyncAfter(deadline:qos:flags:execute:)](dispatch/dispatchqueue/asyncafter(deadline:qos:flags:execute:).md)
- [asyncAfter(wallDeadline:execute:)](dispatch/dispatchqueue/asyncafter(walldeadline:execute:).md)
- [asyncAfter(wallDeadline:qos:flags:execute:)](dispatch/dispatchqueue/asyncafter(walldeadline:qos:flags:execute:).md)
