---
title: "perform(_:)"
framework: coredata
role: symbol
role_heading: Instance Method
path: "coredata/nspersistentstorecoordinator/perform(_:)-7jqb"
---

# perform(_:)

Executes the provided closure asynchronously on the coordinator’s queue.

## Declaration

```swift
func perform(_ block: @escaping @Sendable () -> Void)
```

## Parameters

- `block`: The closure to execute.

## See Also

### Performing tasks

- [perform(_:)](coredata/nspersistentstorecoordinator/perform(_:)-74udx.md)
- [performAndWait(_:)](coredata/nspersistentstorecoordinator/performandwait(_:)-15ude.md)
- [performAndWait(_:)](coredata/nspersistentstorecoordinator/performandwait(_:)-d3kq.md)
- [execute(_:with:)](coredata/nspersistentstorecoordinator/execute(_:with:).md)
