minor changes...
This commit is contained in:
parent
5988c79723
commit
e5b9dad2bc
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable no-console */
|
||||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||
/* eslint-disable @typescript-eslint/prefer-nullish-coalescing */
|
||||
/* eslint-disable @typescript-eslint/no-empty-function */
|
||||
|
@ -15,21 +16,13 @@ private state: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(true);
|
|||
constructor() { }
|
||||
|
||||
getState():Observable<boolean>{
|
||||
console.debug("*******Getting observable state in SpinnerLoadingService");
|
||||
return this.state.asObservable();
|
||||
};
|
||||
|
||||
setState(newState : boolean) : void{
|
||||
console.debug("******Setting state in SpinnerLoadingService: ");
|
||||
this.state.next(newState);
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue