mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-14 21:03:51 +01:00
cleanup
This commit is contained in:
1 parent
1ea9ad7c4a
commit
13093d72d4
51 files changed
+1083
-243
No files matched your search
@@ -41,7 +41,7 @@ extension DataStack {
|
||||
public func perform<T: Sendable>(
|
||||
asynchronous task: @escaping @Sendable (
|
||||
_ transaction: AsynchronousDataTransaction
|
||||
) throws(any Swift.Error) -> T,
|
||||
) throws(any Swift::Error) -> T,
|
||||
sourceIdentifier: (any Sendable)? = nil,
|
||||
completion: @escaping @MainActor @Sendable (AsynchronousDataTransaction.Result<T>) -> Void
|
||||
) {
|
||||
@@ -65,7 +65,7 @@ extension DataStack {
|
||||
public func perform<T>(
|
||||
asynchronous task: @escaping @Sendable (
|
||||
_ transaction: AsynchronousDataTransaction
|
||||
) throws(any Swift.Error) -> T,
|
||||
) throws(any Swift::Error) -> T,
|
||||
sourceIdentifier: (any Sendable)? = nil,
|
||||
success: @escaping @MainActor @Sendable (sending T) -> Void,
|
||||
failure: @escaping @MainActor @Sendable (CoreStoreError) -> Void
|
||||
@@ -123,7 +123,7 @@ extension DataStack {
|
||||
public func perform<T>(
|
||||
synchronous task: (
|
||||
_ transaction: SynchronousDataTransaction
|
||||
) throws(any Swift.Error) -> T,
|
||||
) throws(any Swift::Error) -> T,
|
||||
waitForAllObservers: Bool = true,
|
||||
sourceIdentifier: (any Sendable)? = nil
|
||||
) throws(CoreStoreError) -> T {
|
||||
|
||||
Reference in new issue
Block a user