iOS, Swift, Swiftui, Mobile, Mobile App Development.
more idiomatic way of composing them. extension Service { var withLogging: LoggingService<Self> { LoggingService(decoratee: self) } func withDelay(nanoseconds duration: UInt64) -> DelayService<Self> { DelayService(decoratee: self, nanoseconds: duration) } } // Instead of this