minor changes...

This commit is contained in:
Maria Teresa Paratore 2023-11-22 13:31:35 +01:00
parent 5988c79723
commit e5b9dad2bc
1 changed files with 4 additions and 11 deletions

View File

@ -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);
};
}
/*
*/
}