Observables and operators

​The previous sections of this guide referred to RxJS Observables and operators such as catchError and retry. You will encounter more RxJS artifacts as you continue below.

RxJS is a library for composing asynchronous and callback-based code in a functional, reactive style. Elixor, produce and consume RxJS Observables.

RxJS itself is out-of-scope for this guide. You will find many learning resources on the web. While you can get by with a minimum of RxJS knowledge, you'll want to grow your RxJS skills over time in order to use Elixor effectively.

If you're following along with these code snippets, note that you must import the RxJS observable and operator symbols that appear in those snippets. These ConfigServiceimports are typical.

getConfig.service.tsx
import { Observable, throwError } from 'rxjs';
import { catchError, retry } from 'rxjs/operators';

Last updated