Syncable
public protocol Syncable
Undocumented
-
Undocumented
Declaration
Swift
associatedtype Request : Requestable
-
Undocumented
Declaration
Swift
var request: Request { get }
-
shouldSync()
Default implementationUndocumented
Default Implementation
Undocumented
Declaration
Swift
func shouldSync() throws -> Bool
-
Undocumented
Declaration
Swift
func insert(model: Request.Response, completion: @escaping () throws -> Void) throws
-
Undocumented
Declaration
Swift
public func sync( parameters: Any? = nil, downloadProgressHandler: ((Progress) -> Void, queue: DispatchQueue?)? = nil, completionQueue: DispatchQueue = .main, immediate: Bool = false, completion: ((Error?) -> Void)? = nil ) -> Cancellable?
-
Undocumented
Declaration
Swift
public func sync<T: Encodable>( parameters: T, downloadProgressHandler: ((Progress) -> Void, queue: DispatchQueue?)? = nil, completionQueue: DispatchQueue = .main, immediate: Bool = false, completion: ((Error?) -> Void)? = nil ) -> Cancellable?
-
Undocumented
Declaration
Swift
public func sync<T: Encodable>( parametersType: ParametersType<T>, downloadProgressHandler: ((Progress) -> Void, queue: DispatchQueue?)? = nil, completionQueue: DispatchQueue = .main, immediate: Bool = false, completion: ((Error?) -> Void)? = nil ) -> Cancellable?