Creates and returns a subject that can be subscribed to.
The data type of the subject.
Optional
An optional target subject to subscribe to.
Creates and returns a subject that can be subscribed to.