Home
Using Smart NgRX
Demo Walkthrough
API
@smarttools/smart-ngrx / Function

provideWatchInitialRowEffect

Adds the watchInitialRow effect to the effect if the entity is an initial row

Presentation

function provideWatchInitialRowEffect(
  entityDefinition: SmartEntityDefinition<SmartNgRXRowBase>,
  effects: Record<string, FunctionalEffect>,
  featureName: string,
  entityName: string,
): void;

Returns

void

Parameters

NameTypeDescription
entityDefinition
SmartEntityDefinition<SmartNgRXRowBase>

The entity definition to check

effects
Record<string, FunctionalEffect>

The effects to add the watchInitialRow effect to

featureName
string

The feature name

entityName
string

The entity name