About the documentation of Angular rxjs

  • the official website of ReactiveX is http://reactivex.io/.
  • the following languages are supported:
  • Angular7RxJS?
  • RxJSAngular
  • how should I import to make the case trial on the official website successful?
Jun.13,2022

try

import {Obsrevable} from 'rxjs';

import {Observable} from 'rxjs';

in addition, there are official Angular tutorials that you can refer to

.

ide/observables" rel=" nofollow noreferrer "> Angular official tutorial


Let's ask and answer your own question. The code similar to Rx.Observable above is used before 5.5.It is now more than 6, so destructive updates
should be quoted as follows: import {delay} from 'rxjs/operators'; , using
of (xxxx) .pipe (delay (2000)); , indicating that you have to wait 2 seconds before the observable object is returned

.
Menu