Make it clear that handleQueue should be serial
This commit is contained in:
parent
6ff403fad1
commit
c3cabe43bf
@ -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
|
/// The queue that all interaction with the client should occur on. This is the queue that event handlers are
|
||||||
/// called on.
|
/// called on.
|
||||||
|
///
|
||||||
|
/// **This should be a serial queue! Concurrent queues are not supported and might cause crashes and races**.
|
||||||
case handleQueue(DispatchQueue)
|
case handleQueue(DispatchQueue)
|
||||||
|
|
||||||
/// If passed `true`, the client will log debug information. This should be turned off in production code.
|
/// If passed `true`, the client will log debug information. This should be turned off in production code.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user