Angular : how to call finally() with RXJS 6

  • use throwError instead of Observable.throw, see https://github.com/ReactiveX/rxjs/blob/master/docs_app/content/guide/v6/migration.md#observable-classes

  • finally was renamed to finalize and you’ll use it inside pipe() among other operators.

  • the same with publish() and refCount(). Both are operators you’ll use inside pipe().

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)