Function: createSubject() 
createSubject<
T>(scheduler):Subject<T>
Defined in: subjects/subject.ts:66
Creates a new Subject instance.
A Subject can be used to manually control a stream, emitting values to all active subscribers. It is a fundamental building block for reactive patterns like event bus systems or shared state management.
Type Parameters 
T 
T = any
The type of the values that the subject will emit.
Parameters 
scheduler 
Scheduler = globalScheduler
Returns 
Subject<T>
A new Subject instance.