Skip to content
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

Fix project warnings #12

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import Combine
import RxSwift

final class BridgeSubscription<U, D: Subscriber>: Subscription {
final class BridgeSubscription<Upstream, Downstream: Subscriber>: Subscription {

enum Status {
case active(disposeBag: DisposeBag)
Expand All @@ -18,12 +18,12 @@ final class BridgeSubscription<U, D: Subscriber>: Subscription {
let subscribe: (_ upstream: U, _ downstream: D) -> Disposable
}

private let upstream: U
private let downstream: D
private let witness: Witness<U, D>
private let upstream: Upstream
private let downstream: Downstream
private let witness: Witness<Upstream, Downstream>
private var status: Status = .pending

init(upstream: U, downstream: D, witness: Witness<U, D>) {
init(upstream: Upstream, downstream: Downstream, witness: Witness<Upstream, Downstream>) {
self.upstream = upstream
self.downstream = downstream
self.witness = witness
Expand Down
Loading