'dispatchGroup.notify(queue: inheriting QOS from the current context
Is there a way to dispatchGroup.notify(queue: inheriting QOS from the current context? (assuming there IS qos metainfo that's dragged through all the contexts to begin with) The documentation on .unspecified seems terse: at least I failed to grasp it.
Solution 1:[1]
With, notify(qos:flags:queue:execute:), you can specify .inheritQoS:
group.notify(flags: .inheritQoS, queue: queue) {
...
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
