ReferenceCounted
public final class ReferenceCounted<Upstream: Publisher, SubjectType: Subject>: Publisher
where Upstream.Output == SubjectType.Output, Upstream.Failure == SubjectType.Failure
Automates the process of connecting to a multicast publisher. Connects when the first subscriber connects then cancels and discards when the subscriber count falls to zero.