iOS, Swift, Swiftui, Mobile, Mobile App Development.
PremiumService<Decoratee: Service>: Service { struct Error: Swift.Error {} typealias Input = Decoratee.Input typealias Output = Decoratee.Output let decoratee: Decoratee let isPremiumUser: () async -> Bool init(decoratee: Decoratee, isPremiumUser: @escaping () async -> Bool) { self.decoratee =