Skip to content

Instantly share code, notes, and snippets.

@canapio
Created March 3, 2017 11:59
class DispatchQueue {
// ...
func async(/* other params omitted */, execute work: @escaping () -> Void)
func sync<T>(execute work: () throws -> T) rethrows -> T
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment