Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Foundation
- import RxSwift
- protocol DBAccessServiceProtocol {
- func select(sql: String) -> Single<Result<Data, DBAccessServiceError>>
- }
- enum DBAccessServiceError: Error {
- case deserialization(Error)
- case `internal`(Error)
- case serialization(Error)
- }
- // Implementation deliberately skipped
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement