Skip to content

Commit

Permalink
more visibility modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
jarsen committed Aug 18, 2016
1 parent b6e0391 commit 8f2d754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Reactor/Sources/Reactor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ extension Middleware {
}
}

struct Middlewares<S: State> {
public struct Middlewares<S: State> {
private(set) var middleware: AnyMiddleware
}

public protocol AnySubscriber: class {
func _update(with state: Any)
}

protocol Subscriber: AnySubscriber {
public protocol Subscriber: AnySubscriber {
associatedtype State
func update(with state: State)
}
Expand Down

0 comments on commit 8f2d754

Please sign in to comment.