DispatchQueue.global(attributes:DispatchQueue.GlobalQueuePriority.default).async { () -> Void
I get the error at attributes. It says
(Argument labels(attributes:) does not match any available overloads)
DispatchQueue.global(attributes:DispatchQueue.GlobalQueuePriority.default).async { () -> Void
I get the error at attributes. It says
(Argument labels(attributes:) does not match any available overloads)
That means your implementation is wrong. For Confirmation Press & Hold cmd
and click to Get documentation for correct code.
Reference: