Object type containing the crucial methods to behave like an RxJS Subject.
Unlike traditional Subjects, this interface allows for a different type to be passed to next() than the type that is given by subscribe().
This is so that a Redux Store can masquerade as something resembling a Subject, to simplify modules wishing to support both.
Object type containing the crucial methods to behave like an RxJS
Subject
. Unlike traditionalSubject
s, this interface allows for a different type to be passed tonext()
than the type that is given bysubscribe()
. This is so that a ReduxStore
can masquerade as something resembling aSubject
, to simplify modules wishing to support both.