Skip to content

Instantly share code, notes, and snippets.

export type Entity =
| {
type: "user"
}| {
type: "post"
}| {
type: "comment"
};
import { Injectable, OnDestroy } from '@angular/core';
import { NavigationEnd, Router, RoutesRecognized } from '@angular/router';
import { filter, pairwise } from 'rxjs/operators';
import { BehaviorSubject } from 'rxjs';
import { Location } from '@angular/common';
import { CommonUtilsService } from './common-utils.service';
import { untilDestroyed } from './until-destroyed';
import { AppConstants } from '../../app.constants';
@Injectable({
@ibhargav90
ibhargav90 / rxjs-diagrams.md
Created April 29, 2019 09:56 — forked from PCreations/rxjs-diagrams.md
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K