init(_:)
Creates a context that uses the specified concurrency type.
Declaration
nonisolated convenience init(_ type: NSManagedObjectContext.ConcurrencyType)Parameters
- type:
The context’s concurrency type. For possible values, see Concurrencytype Swift.struct.
Discussion
For more information, see Concurrency.