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

loadByIndexesEffect

Generic types:T

This is the effect that loads the ids from the service.

Presentation

function loadByIndexesEffect(
  actions: ActionGroup<T>,
  feature: string,
  entity: string,
): (
  actions$?: Actions<any>,
  effectService?: EffectService<SmartNgRXRowBase>,
) => Observable<void>;

Returns

(actions$?: Actions<any>, effectService?: EffectService<SmartNgRXRowBase>) => Observable<void> -

the loadByIds effect

Parameters

NameTypeDescription
actions
ActionGroup<T>

the action group for the source provided

feature
string

the feature name this effect is being run for

entity
string

the entity within the feature this effect is being run for