iOS, Swift, Swiftui, Mobile, Mobile App Development.
callAsFunction(input: Input) async throws -> Output { try await Task.sleep(nanoseconds: duration) return try await decoratee(input: input) } } Or we could have another aspect to always force an error, for instance. Aspects are composable Once we have all our aspects in place, we can simply modify