Last active
July 1, 2016 12:30
-
-
Save viniciusdacal/760a7108c4084fdc67b820a36b135a70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const asyncAction = { | |
| types: [ | |
| CALL_API_REQUEST, | |
| CALL_API_SUCCESS, | |
| CALL_API_FAILURE, | |
| ], | |
| callAPI: () => http.get('http://api.myapp.com/service', {id: 1}), | |
| payload: {id: 1}, | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment