mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
24 lines
494 B
Swift
24 lines
494 B
Swift
import Foundation
|
|
|
|
#if REVERSE
|
|
|
|
public final class AsyncValueBlockOperation: AsyncOperation {
|
|
public override var isAsynchronous: Bool { return false }
|
|
}
|
|
|
|
open class AsyncOperation: Operation {
|
|
open override var isAsynchronous: Bool { return true }
|
|
}
|
|
|
|
#else
|
|
|
|
open class AsyncOperation: Operation {
|
|
open override var isAsynchronous: Bool { return true }
|
|
}
|
|
|
|
public final class AsyncValueBlockOperation: AsyncOperation {
|
|
public override var isAsynchronous: Bool { return false }
|
|
}
|
|
|
|
#endif
|