Skip to content

Commit 5b303ab

Browse files
authored
Added RxJs Question
1 parent 261b9d5 commit 5b303ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@
16841684
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.
16851685
16861686
A Subject is like an Observable, but can multicast to many Observers. Subjects are like EventEmitters: they maintain a registry of many listeners.
1687-
``` typescript
1687+
``` typescript
16881688
import { Subject } from 'rxjs';
16891689
16901690
const subject = new Subject<number>();
@@ -1698,4 +1698,4 @@
16981698
16991699
subject.next(1);
17001700
subject.next(2);
1701-
```
1701+
```

0 commit comments

Comments
 (0)