Skip to content

Instantly share code, notes, and snippets.

@GrillPhil
Created June 27, 2018 07:52
Show Gist options
  • Save GrillPhil/e4e99331643963343440a9785be2abbc to your computer and use it in GitHub Desktop.
Save GrillPhil/e4e99331643963343440a9785be2abbc to your computer and use it in GitHub Desktop.
import { Injectable } from "@angular/core";
import { BehaviorSubject } from "rxjs";
@Injectable()
export class BlockingProgressService {
isLoading: BehaviorSubject<boolean> = new BehaviorSubject(false);
loadingMessage: BehaviorSubject<string> = new BehaviorSubject(null);
constructor() { }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment