https://mfaani.com/posts/swift/currentvaluesubject-example/
CurrentValueSubject Example