A function that retrieves and sets the value of a subject.
The type of data stored in the subject.
The subject to subscribe to.
Optional
The initial value for the subject, if not provided the subject's initial value will be used.
A function that retrieves and sets the value of a subject.