Actos using DispatchQueue
Swift Forums
Actos using DispatchQueue
I wanted to ask a question, if I used DispatchQueue as the SerialExecutor of an actor can this prevent the actor from having reentrance due to how DispatchQueue works, another question what if I made my custom SerialExecutor and used it for an actor can this prevent the actor from having reentrance ? actor DatabaseWriter { private nonisolated let executor = DispatchQueue(label: "com.klivvr.db.write") nonisolated var unownedExecutor: UnownedSerialExecutor { executor.asUnownedS...
I wanted to ask a question, if I used DispatchQueue as the SerialExecutor of an actor can this prevent the actor from having reentrance due to how DispatchQueue works, another…
0 comments
No comments yet.