deleteEffect
Generic types: | T |
This is the effect that handles deleting a row from the store.
Presentation
function deleteEffect (
effectServiceToken: InjectionToken<EffectService <T>>,
actions: ActionGroup <T>,
): (
actions$?: Actions<any>,
effectService?: EffectService <T>,
) => Observable<void>;
Returns
(actions$?: Actions<any>, effectService?: EffectService <T>) => Observable<void>
-The action to fire as a result of the delete, if any
Parameters
Name | Type | Description |
---|---|---|
effectServiceToken | InjectionToken< | token for the service that the user has provided to implement delete |
actions |
| the action group that has the actions we can trigger and listen for |