Question · Angular course · Module 7: RxJS

BehaviorSubject

How does a BehaviorSubject differ from a regular Subject?

Answer options

  • It is faster
  • It remembers the last value and requires an initial value
  • It can emit only one data type
  • It cannot be cancelled

You can check the correct answer by solving this task in the CodeWorlds game.