Make it clear that handleQueue should be serial

This commit is contained in:
Erik Little 2018-05-10 07:29:28 -04:00
parent 6ff403fad1
commit c3cabe43bf
No known key found for this signature in database
GPG Key ID: 62F837E56F4E9320

View File

@ -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.