diff --git a/Sources/Reactor.swift b/Sources/Reactor.swift index 1f7ac8f..4e2637c 100644 --- a/Sources/Reactor.swift +++ b/Sources/Reactor.swift @@ -77,7 +77,7 @@ public class Core { private var subscriptions = [Subscription]() private var middlewares = [Middlewares]() - private (set) var state: StateType { + public private (set) var state: StateType { didSet { subscriptions = subscriptions.filter { $0.subscriber != nil } DispatchQueue.main.async {