effectsFactory
Generic types: | T |
The effects factory creates a new set of effects for the Action
source provided and calls the service represented by the InjectionToken
provided.
See Also
EffectsFactory
Presentation
function effectsFactory (
feature: string,
entityName: string,
effectsServiceToken: InjectionToken<EffectService <T>>,
): Record<EffectsFactoryKeys, FunctionalEffect>;
Returns
Record<EffectsFactoryKeys, FunctionalEffect>
-The NgRX effects for the source provided
Parameters
Name | Type | Description |
---|---|---|
feature | string | the feature name this effect is being run for |
entityName | string | the entity within the feature this effect is being run for |
effectsServiceToken | InjectionToken< | The token for the service that |