mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Add TODO
This commit is contained in:
parent
5cf82fffdf
commit
d52de19dbf
|
@ -1,5 +1,10 @@
|
|||
import PromiseKit
|
||||
|
||||
// TODO: A lot of the API relies on things happening serially and state being maintained correctly (i.e. without
|
||||
// race conditions). To this end we should just have one high quality serial queue and do everything on there, except
|
||||
// for things that explicitly *can* be done in parallel and don't modify state, any which should then happen
|
||||
// on a global queue.
|
||||
|
||||
@objc(LKAPI)
|
||||
public final class LokiAPI : NSObject {
|
||||
private static let stateQueue = DispatchQueue(label: "LokiAPI.stateQueue")
|
||||
|
|
Loading…
Reference in a new issue