-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refact: Implement NetworkClient using async await #12
Conversation
return .init(pathUpdateStream: { | ||
XCTFail("\(Self.self).pathUpdateStream method not implemented.") | ||
fatalError("\(Self.self).pathUpdateStream method not implemented.") | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return .init(pathUpdateStream: { | |
XCTFail("\(Self.self).pathUpdateStream method not implemented.") | |
fatalError("\(Self.self).pathUpdateStream method not implemented.") | |
}) | |
return .init(pathUpdateStream: { | |
XCTUnimplemented("\(Self.self).pathUpdateStream method not implemented.") | |
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just refactored our implementation to use async/await too and the above was suggested to me by Jakob so now I'm passing it on 😄
bb84952
to
82bfc01
Compare
Modules/Package.swift
Outdated
@@ -29,7 +29,7 @@ let package = Package( | |||
.package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "0.3.2"), | |||
.package(url: "https://github.com/pointfreeco/combine-schedulers", from: "0.5.3"), | |||
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.1.0"), | |||
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.2.1"), | |||
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.3.0"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed the version so we could use XCTUnimplemented
.
82bfc01
to
fc6eeae
Compare
Replace combine implementation with async await.