duemunk / Async

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch
MIT License
4.59k stars 316 forks source link

Unified code for DispatchQoS.QoSClass.description and qos_class_t.description #137

Closed RomanPodymov closed 5 years ago

RomanPodymov commented 5 years ago

Hello. In this pull request I added QoSClassDescription to unify strings in DispatchQoS.QoSClass.description and qos_class_t.description. I also removed get in these computed properties. Please rename QoSClassDescription and propose a better description for it if you want.

duemunk commented 5 years ago

Looks good. Maybe the enum can be private?

duemunk commented 5 years ago

🙏