Add note about manager not being thread safe
This commit is contained in:
parent
c3cabe43bf
commit
4ea1bb9c43
@ -43,6 +43,8 @@ import Foundation
|
|||||||
/// To disconnect a socket and remove it from the manager, either call `SocketIOClient.disconnect()` on the socket,
|
/// To disconnect a socket and remove it from the manager, either call `SocketIOClient.disconnect()` on the socket,
|
||||||
/// or call one of the `disconnectSocket` methods on this class.
|
/// or call one of the `disconnectSocket` methods on this class.
|
||||||
///
|
///
|
||||||
|
/// **NOTE**: The manager is not thread/queue safe, all interaction with the manager should be done on the `handleQueue`
|
||||||
|
///
|
||||||
open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable {
|
open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable {
|
||||||
private static let logType = "SocketManager"
|
private static let logType = "SocketManager"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user