Files
swift-mirror/test/ModuleInterface/Inputs/MeowActor.swift
Karoy Lorentey 47956908b7 [Concurrency] SwiftStdlib 5.5 ⟹ SwiftStdlib 5.1 (usages)
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.
2021-10-28 14:36:36 -07:00

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! :)
}
}
}