BACK
Referenceexhaust
Reference · 62

exhaust

exhaust

Deprecated
rxjs.dev

Name for exhaustAll.

Signature

exhaust(): OperatorFunction, T>

What it does

Flattens a higher-order stream, ignoring new inner Observables until the current one completes.

When to use

Supporting legacy code. For new chains, use exhaustAll or exhaustMap.

Deprecated API

Marked deprecated in RxJS 7. In new code, use exhaustAll.

See also

exhaustAll, exhaustMap

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