mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The concurrency runtime now deploys back to macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, which corresponds to the 5.1 release of the stdlib. Adjust macro usages accordingly.
12 lines
237 B
Swift
12 lines
237 B
Swift
@available(SwiftStdlib 5.1, *)
|
|
@globalActor public final class MeowActor {
|
|
public static let shared = _Impl()
|
|
|
|
public actor _Impl {
|
|
nonisolated
|
|
public func enqueue(_ job: UnownedJob) {
|
|
// DOES NOTHING! :)
|
|
}
|
|
}
|
|
}
|