mirror of
https://github.com/Moya/Moya.git
synced 2026-03-18 19:52:28 +00:00
10 lines
286 B
Swift
10 lines
286 B
Swift
import Foundation
|
|
|
|
#if swift(>=5.5)
|
|
|
|
/// Type alias for Swift.Continuation.Task to resolve the conflict with Moya.Task and not needed hide `import Moya` from file header
|
|
@available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
|
|
public typealias AsyncTask = _Concurrency.Task
|
|
|
|
#endif
|