mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-01-19 15:37:10 +01:00
WIP: CSSetupResult
This commit is contained in:
@@ -48,7 +48,7 @@ public extension CSDataStack {
|
||||
// - parameter completion: the closure to be executed on the main queue when the process completes, either due to success or failure. The closure's `SetupResult` argument indicates the result. This closure is NOT executed if an error is thrown, but will be executed with a `.Failure` result if an error occurs asynchronously.
|
||||
// - returns: an `NSProgress` instance if a migration has started, or `nil` is no migrations are required
|
||||
// */
|
||||
// public func addStorage(storage: StorageInterface, completion: (SetupResult<T>) -> Void) throws -> NSProgress? {
|
||||
// public func addInMemoryStorage(storage: CSInMemoryStore, completion: (CSSetupResult) -> Void, error: NSErrorPointer) -> NSProgress? {
|
||||
//
|
||||
// self.coordinator.performAsynchronously {
|
||||
//
|
||||
@@ -91,7 +91,7 @@ public extension CSDataStack {
|
||||
//
|
||||
// return nil
|
||||
// }
|
||||
//
|
||||
//
|
||||
// /**
|
||||
// Asynchronously adds a `LocalStorage` with default settings to the stack. Migrations are also initiated by default.
|
||||
// ```
|
||||
|
||||
Reference in New Issue
Block a user