Skip to content
This repository was archived by the owner on Oct 28, 2020. It is now read-only.

Commit 96abb87

Browse files
committed
Make parts of ResumableSubscription more accessible
1 parent 2a8b177 commit 96abb87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/ResumableSubscription.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
@objc public class ResumableSubscription: NSObject {
44
public let path: String
5-
public internal(set) var unsubscribed: Bool = false
5+
public var unsubscribed: Bool = false
66

77
// TODO: Check memory mangement stuff here - capture list etc
88

@@ -86,8 +86,8 @@ import Foundation
8686
self.onError = onError
8787
}
8888

89-
internal func changeState(to newState: ResumableSubscriptionState) {
90-
// TODO: Potentially add an onStateChange handlers property
89+
public func changeState(to newState: ResumableSubscriptionState) {
90+
// TODO: Potentially add an onStateChange handlers property
9191
// let oldState = self.state
9292
// self.onStateChangeHandlers.
9393
self.state = newState

0 commit comments

Comments
 (0)