Skip to content

Commit

Permalink
Annotate global queue availability correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
srdanrasic committed Mar 26, 2017
1 parent aa76673 commit 6ce6773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/ExecutionContext.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public struct ExecutionContext {
}

/// Execution context bound to global dispatch queue.
@available(macOS 10.10, *)
public static func global(qos: DispatchQoS.QoSClass = .default) -> ExecutionContext {
return DispatchQueue.global(qos: qos).context
}
Expand Down

0 comments on commit 6ce6773

Please sign in to comment.