<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSPersistentStoreDescription/shouldAddStoreAsynchronously",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPersistentStoreDescription(py)shouldAddStoreAsynchronously"
  },
  "title" : "shouldAddStoreAsynchronously"
}
-->

# shouldAddStoreAsynchronously

A flag that determines whether the store is added asynchronously.

```
var shouldAddStoreAsynchronously: Bool { get set }
```

## Discussion

By default, the store is added to the [`NSPersistentStoreCoordinator`](/documentation/CoreData/NSPersistentStoreCoordinator) synchronously on the calling thread. If this flag is set to <doc://com.apple.documentation/documentation/Swift/true>, the store is added asynchronously on a background queue. The default for this flag is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)