chat-sdk-ios
chat-sdk-ios copied to clipboard
How to get all threads in background thread?
I have a problem when call BChatSDK.core()?.threads(with: bThreadFilterPrivateThread, includeDeleted: false) if db have too many entities. It make app freeze because i must call this function in main thread. I tried using DispatchQueue global but it make app crash with error : was mutated while being enumerated. Please help!