---
title: perform()
framework: dispatch
role: symbol
role_heading: Instance Method
path: dispatch/dispatchworkitem/perform()
---

# perform()

Executes the work item’s block synchronously on the current thread.

## Declaration

```swift
func perform()
```

## Discussion

Discussion This method executes the work item’s block immediately on the current thread.
