libs/core/src/lib/services/taly-state.service.ts
A blueprint service for interacting with application state. This service is designed to be extended by concrete implementations, for example:
{ provide: TalyStateService, useClass: PfeStateService }
Methods |
|
Public Abstract evaluateCondition$ | ||||||
evaluateCondition$(condition: string)
|
||||||
Parameters :
Returns :
Observable<boolean>
|
Public Abstract interpolateFromStore$ | ||||||
interpolateFromStore$(message: string | undefined)
|
||||||
Parameters :
Returns :
Observable<string>
|
import { Observable } from 'rxjs';
/**
* A blueprint service for interacting with application state.
* This service is designed to be extended by concrete implementations, for example:
*
* {
* provide: TalyStateService,
* useClass: PfeStateService
* }
*/
export abstract class TalyStateService {
public abstract interpolateFromStore$(message: string | undefined): Observable<string>;
public abstract evaluateCondition$(condition: string): Observable<boolean>;
}