BACK
Referencedematerialize
Reference · 56

dematerialize

dematerialize

rxjs.dev

Turns Notification objects back into real next/error/complete events.

Signature

dematerialize(): OperatorFunction, T>

What it does

Expects a stream of Notification objects and replays them as Observable events. A Notification of kind N becomes next, E becomes error, C becomes complete.

When to use

Advanced logging, serialization, or deferred handling of errors as data.

See also

materialize, catchError

script.ts // TypeScript
CONSOLE · Console output
Hit Run to see the result...