May 17, 2023
While all true, I'd have tried to avoid nesting them in the first place. Your database save function would have been better in a flatMap prior to the sink.
While all true, I'd have tried to avoid nesting them in the first place. Your database save function would have been better in a flatMap prior to the sink.
I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.