From c3cabe43bf9cd3deac97c20d46bb46ecf24a9af7 Mon Sep 17 00:00:00 2001 From: Erik Little Date: Thu, 10 May 2018 07:29:28 -0400 Subject: [PATCH] Make it clear that `handleQueue` should be serial --- Source/SocketIO/Client/SocketIOClientOption.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SocketIO/Client/SocketIOClientOption.swift b/Source/SocketIO/Client/SocketIOClientOption.swift index 3e9114f..02d8898 100644 --- a/Source/SocketIO/Client/SocketIOClientOption.swift +++ b/Source/SocketIO/Client/SocketIOClientOption.swift @@ -55,6 +55,8 @@ public enum SocketIOClientOption : ClientOption { /// The queue that all interaction with the client should occur on. This is the queue that event handlers are /// called on. + /// + /// **This should be a serial queue! Concurrent queues are not supported and might cause crashes and races**. case handleQueue(DispatchQueue) /// If passed `true`, the client will log debug information. This should be turned off in production code.