@@ -45,7 +45,7 @@ import Foundation
45
45
///
46
46
/// **NOTE**: The manager is not thread/queue safe, all interaction with the manager should be done on the `handleQueue`
47
47
///
48
- open class SocketManager : NSObject , SocketManagerSpec , SocketParsable , SocketDataBufferable , ConfigSettable {
48
+ open class SocketManager : NSObject , SocketManagerSpec , SocketParsable , SocketDataBufferable , ConfigSettable , @ unchecked Sendable {
49
49
private static let logType = " SocketManager "
50
50
51
51
// MARK: Properties
@@ -95,16 +95,16 @@ open class SocketManager: NSObject, SocketManagerSpec, SocketParsable, SocketDat
95
95
public var nsps = [ String: SocketIOClient] ( )
96
96
97
97
/// If `true`, this client will try and reconnect on any disconnects.
98
- public var reconnects = true
98
+ public var reconnects : Bool = true
99
99
100
100
/// The minimum number of seconds to wait before attempting to reconnect.
101
- public var reconnectWait = 10
101
+ public var reconnectWait : Int = 10
102
102
103
103
/// The maximum number of seconds to wait before attempting to reconnect.
104
- public var reconnectWaitMax = 30
104
+ public var reconnectWaitMax : Int = 30
105
105
106
106
/// The randomization factor for calculating reconnect jitter.
107
- public var randomizationFactor = 0.5
107
+ public var randomizationFactor : Double = 0.5
108
108
109
109
/// The status of this manager.
110
110
public private( set) var status : SocketIOStatus = . notConnected {
0 commit comments