You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,7 @@
136
136
|128|[What are the restrictions on declarable classes?](#what-are-the-restrictions-on-declarable-classes)|
137
137
|129|[What is a DI token?](#what-is-a-di-token)|
138
138
|130|[What is Angular DSL?](#what-is-angular-dsl)|
139
-
139
+
|131|[What is an rxjs Subject?](#what-is-an-rxjs-Subject)|
140
140
141
141
142
142
@@ -1680,6 +1680,22 @@
1680
1680
1. (): Used for Output and DOM events.
1681
1681
2. []: Used for Input and specific DOM element attributes.
1682
1682
3. * : Structural directives(*ngFor or *ngIf) will affect/change the DOM structure.
1683
+
131. ### what is an rxjs subject in Angular
1684
+
An RxJS Subject is a special type of Observable that allows values to be multicasted to many Observers. While plain Observables are unicast (each subscribed Observer owns an independent execution of the Observable), Subjects are multicast.
1685
+
1686
+
A Subject is like an Observable, but can multicast to many Observers. Subjects are like EventEmitters: they maintain a registry of many listeners.
0 commit comments