DispatchWorkItemFlags是一个选项集,用于配置DispatchWorkItem值的行为,包括其服务质量类以及是创建障碍还是生成新的分离线程。
类型属性:
- static let assignCurrentContext:DispatchWorkItemFlags
- static let barrier:DispatchWorkItemFlags
- static let detached:DispatchWorkItemFlags
- static let enforceQoS:DispatchWorkItemFlags
- static let inheritQoS:DispatchWorkItemFlags
- static let noQoS:DispatchWorkItemFlags
醇>