Replies: 1 comment
-
If we aren’t reading from it (looks like yeah) then probably it is behaving the same as a serial queue, yes. Haven't checked the code though. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've found
PromiseKit
enormously useful to use, and, as a relative noob in iOS, I've learned a lot by just poking around the source. So thanks to all contributors!I was looking at the implementation of
when
here, and I was wondering: is using a concurrentDispatchQueue
and then submitting only.barrier
tasks to it any different from submitting tasks to aserial
queue? In other words, would this code behave differently ifbarrier
were a serial queue (and you didn't pass the.barrier
flag to thesync
call?Beta Was this translation helpful? Give feedback.
All reactions