Subject
A publisher that exposes a method for outside callers to publish elements.
Declaration
protocol Subject<Output, Failure> : AnyObject, PublisherMentioned in
Overview
A subject is a publisher that you can use to ”inject” values into a stream, by calling its send(_:) method. This can be useful for adapting existing imperative code to the Combine model.