---
title: "async(execute:)"
framework: Dispatch
role: symbol
role_heading: Instance Method
platforms: [iOS 8.0+, iPadOS 8.0+, Mac Catalyst, macOS 10.10+, tvOS, visionOS, watchOS]
path: dispatch/dispatchqueue/2016103-async
---

# 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](dispatch/dispatchworkitem.md).

## See Also

### Executing Tasks Asynchronously

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