Skip to content

Commit d9559e7

Browse files
committed
Add note about queue safety
1 parent 77dfd78 commit d9559e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/SocketIOClient.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import Foundation
2727

2828
/// The main class for SocketIOClientSwift.
2929
///
30+
/// **NOTE**: The client is not thread/queue safe, all interaction with the socket should be done on the `handleQueue`
31+
///
3032
/// Represents a socket.io-client. Most interaction with socket.io will be through this class.
3133
open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, SocketParsable {
3234
// MARK: Properties

0 commit comments

Comments
 (0)