---
title: "withExclusiveControl(beforeDate:perform:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/badownloadmanager/withexclusivecontrol(beforedate:perform:)"
---

# withExclusiveControl(beforeDate:perform:)

## Declaration

```swift
func withExclusiveControl(beforeDate date: Date, perform performHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)
```

## See Also

### Synchronizing manager access

- [withExclusiveControl(_:)](backgroundassets/badownloadmanager/withexclusivecontrol(_:).md)
