File

libs/core/src/lib/services/taly-state.service.ts

Description

A blueprint service for interacting with application state. This service is designed to be extended by concrete implementations, for example:

{ provide: TalyStateService, useClass: PfeStateService }

Index

Methods

Methods

Public Abstract evaluateCondition$
evaluateCondition$(condition: string)
Parameters :
Name Type Optional
condition string No
Returns : Observable<boolean>
Public Abstract interpolateFromStore$
interpolateFromStore$(message: string | undefined)
Parameters :
Name Type Optional
message string | undefined No
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>;
}

results matching ""

    No results matching ""