Question · Angular course · Module 7: RxJS

Cancelling a subscription

Which method do we use to manually cancel an Observable subscription?

Answer options

  • subscription.cancel()
  • subscription.stop()
  • subscription.unsubscribe()
  • subscription.complete()

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