---
title: shouldAddStoreAsynchronously
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nspersistentstoredescription/shouldaddstoreasynchronously
---

# shouldAddStoreAsynchronously

A flag that determines whether the store is added asynchronously.

## Declaration

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

## Discussion

Discussion By default, the store is added to the NSPersistentStoreCoordinator synchronously on the calling thread. If this flag is set to true, the store is added asynchronously on a background queue. The default for this flag is false.

## See Also

### Configuring a Persistent Store Description

- [url](coredata/nspersistentstoredescription/url.md)
- [configuration](coredata/nspersistentstoredescription/configuration.md)
- [timeout](coredata/nspersistentstoredescription/timeout.md)
- [type](coredata/nspersistentstoredescription/type.md)
- [isReadOnly](coredata/nspersistentstoredescription/isreadonly.md)
- [shouldInferMappingModelAutomatically](coredata/nspersistentstoredescription/shouldinfermappingmodelautomatically.md)
- [shouldMigrateStoreAutomatically](coredata/nspersistentstoredescription/shouldmigratestoreautomatically.md)
- [setOption(_:forKey:)](coredata/nspersistentstoredescription/setoption(_:forkey:).md)
- [setValue(_:forPragmaNamed:)](coredata/nspersistentstoredescription/setvalue(_:forpragmanamed:).md)
