What is Subscription in Reactive Programming?

Updated May 6, 2026

Short answer

Subscription represents execution of an Observable.

Deep explanation

It allows consuming emitted values and managing lifecycle.

Real-world example

Listening to UI events.

Common mistakes

  • Forgetting to unsubscribe.

Follow-up questions

  • Why unsubscribe?
  • Can subscriptions be combined?

More Reactive Programming interview questions

View all →