Put in order · Angular course · Module 7: RxJS

The three subscription callbacks

Arrange the observer object callbacks in the order in which we declare them in subscribe():

Items to put in order

  • error: err => console.error(err)
  • next: value => console.log(value)
  • complete: () => console.log('Completed')

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