addSuccessEffect
| Generic types: | T |
This is the effect that handles adding a new row to the store.
Presentation
function addSuccessEffect (
actions: ActionGroup <T>,
adapter: EntityAdapter<T>,
): (actions$?: Actions<any>) => Observable<void>;Returns
(actions$?: Actions<any>) => Observable<void> -The effect that will be called when the action is triggered
Parameters
| Name | Type | Description |
|---|---|---|
| actions | | The action that will have the type of action that was triggered |
| adapter | EntityAdapter<T> | the adapter for the entity so we can grab the id for the row |