redux-data-service > IPostActionHandlers
Used in an action's meta, such that an epic will call the given callbacks when an API request resolves
IPostActionHandlers
● onError: function
Defined in Services/DataService/IPostActionHandlers.ts:4
▸(errors: any
): void
Parameters:
Name | Type |
---|---|
errors | any |
Returns: void
● onSuccess: function
Defined in Services/DataService/IPostActionHandlers.ts:3
▸(data: any
): void
Parameters:
Name | Type |
---|---|
data | any |
Returns: void