Files
swift-mirror/test/ModuleInterface/Inputs/MeowActor.swift
Doug Gregor d6e8fd81f5 Remove @actorIndependent attribute.
`@actorIndependent` has been superseded by `nonisolated`. Remove
the old spelling entirely.
2021-05-17 12:21:10 -07:00

12 lines
237 B
Swift

@available(SwiftStdlib 5.5, *)
@globalActor public final class MeowActor {
public static let shared = _Impl()
public actor _Impl {
nonisolated
public func enqueue(_ job: UnownedJob) {
// DOES NOTHING! :)
}
}
}