File

libs/ngx-pfe/pfe-actions/update-state-values/update-state-values.service.ts

Index

Properties

Constructor

constructor(pfeStateService: PfeStateService)
Parameters :
Name Type Optional
pfeStateService PfeStateService No

Properties

Public executeActionUpdateStatesValues
Default value : () => {...}
import { Injectable } from '@angular/core';
import { PfeStateService } from './../../services/pfe-state-service/state.service';
import { PfeUpdateStateValuesActionConfig } from './update-state-values.model';

@Injectable()
export class PfeUpdateStateValuesService {
  constructor(protected pfeStateService: PfeStateService) {}

  public executeActionUpdateStatesValues = async (actionConfig: PfeUpdateStateValuesActionConfig): Promise<void> =>
    Promise.resolve(this.pfeStateService.updateStateValues(actionConfig.stateUpdates));
}

results matching ""

    No results matching ""