Is @Published implemented using CurrentValueSubject

I’m curious to know how <@Published> is implemented underneath the hood. Its behaviour seems identical to CurrentValueSubject so I was wondering if that’s how it is.

Why this is interesting to me is, if say I created a CurrentValueSubject and subscribed to it in a View using onReceive can I expect the same behaviour and stability over the lifetime of the View as when I use a <@Published> property from an <@ObservedObject> or <@StateObject> object