liveBook · Manning

Observable

A source of values or notifications that consumers can subscribe to and receive over time.

How 6 Manning books explain it

The Joy of JavaScript

An Observable is a push-based abstraction that represents a stream of values or events over time and can be subscribed to for delivery of those emissions.

How it is used
Provides a consistent publish/subscribe interface for processing values from varied push-based sources.
How deep it goes
Works through subscription, cleanup, custom sources, and operator implementation; leaves a full operator toolkit to libraries.
Examples
Uses subscribed words, timer-generated random numbers, mapped number sequences, and a file-block validation pipeline.
What you can do after
Build it from scratch by wrapping sources and composing custom operators into subscribed processing pipelines.

Read how The Joy of JavaScript explains observable →

Functional Programming in C#, Second Edition

Observable is a static .NET class that provides methods for creating and operating on observable sequences.

How it is used
Creates observable sequences for time-based, asynchronous, and callback-driven dataflows.
How deep it goes
Works through creation, transformation, subscription, and error handling; defers schedulers and hot-versus-cold implementation details.
Examples
Uses a one-second timer, Redis channel adapter, and asynchronous exchange-rate lookup.
What you can do after
Apply it via System.Reactive to create streams, transform their values, and subscribe with cleanup.

Read how Functional Programming in C#, Second Edition explains observable →

Functional Programming in JavaScript

An object representing a stream of values or events that observers can subscribe to over time.

How it is used
Unifies asynchronous and event-based data so functional operations can process user input and other sources consistently.
How deep it goes
Defines streams, subscription, transformation, errors, and completion, while deferring broader reactive operations to later treatment.
Examples
Demonstrates numeric ranges, generated squares, odd-number transformation, SSN events, and student data from a promise.
What you can do after
Apply RxJS to build composable pipelines for asynchronous values and event streams.

Read how Functional Programming in JavaScript explains observable →

Modern Angular

An observable is a computation or data source that emits a sequence of values or notifications over time to subscribed consumers.

How it is used
Handles asynchronous HTTP results, framework events, reactive-form changes, and shared changing state.
How deep it goes
Works through creation, combination, and map transformations, then explains signal conversion timing and injection-context constraints.
Examples
Uses authentication status, numeric of/merge/map streams, a ticking count signal, and time-off request actions.
What you can do after
Apply it via RxJS to expose read-only state, transform event streams, and bridge signals with toObservable.

Read how Modern Angular explains observable →

Pro Angular 16

An observable is a reactive abstraction representing a sequence of values that can be emitted asynchronously over time.

How it is used
Represents asynchronous HTTP results and ongoing change notifications in Angular applications.
How deep it goes
Defines Observable<T> and subscribe callbacks through a ticker, then applies subscriptions to framework APIs without explaining RxJS internals.
Examples
Uses an interval ticker, REST-backed order saving, form input changes, and content-query notifications.
What you can do after
Apply it via RxJS and Angular APIs to subscribe to emitted values and convert an observable to a signal when needed.

Read how Pro Angular 16 explains observable →

Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

An observable is a source of asynchronous values that can be subscribed to and can signal start, next, error, and complete notifications to an observer.

How it is used
Supplies subscribable streams for recurring values and push-based updates, illustrated by a clock widget.
How deep it goes
Walks through construction, notifications, cleanup, and composition, then sketches a filter combinator without forwarding error or completion.
Examples
Uses a ticking clock, an iterable converted to a stream, odd-number filtering, and a cumulative-sum exercise.
What you can do after
Build it from scratch with the Observable constructor, subscribe and unsubscribe, and compose or write combinators.

Read how Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond explains observable →

Also covered in

What to know first

Related concepts

Questions about observable

What is observable?

A source of values or notifications that consumers can subscribe to and receive over time.

Which Manning books explain observable?

The Joy of JavaScript, Functional Programming in C#, Second Edition, Functional Programming in JavaScript, Modern Angular, Pro Angular 16 and Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond.

What should I know before learning observable?

Manning books that teach observable usually introduce promise, event, WebSocket and asynchronous programming first.

What kinds of observable are there?

Kinds of observable include reactive subject.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.