Skip to content

Commit c3cabe4

Browse files
committed
Make it clear that handleQueue should be serial
1 parent 6ff403f commit c3cabe4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/SocketIO/Client/SocketIOClientOption.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ public enum SocketIOClientOption : ClientOption {
5555

5656
/// The queue that all interaction with the client should occur on. This is the queue that event handlers are
5757
/// called on.
58+
///
59+
/// **This should be a serial queue! Concurrent queues are not supported and might cause crashes and races**.
5860
case handleQueue(DispatchQueue)
5961

6062
/// If passed `true`, the client will log debug information. This should be turned off in production code.

0 commit comments

Comments
 (0)