UNPKG
@dmartss/async-actions
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Helper for Async action creators
github.com/dmartss/personal-packages
dmartss/personal-packages
@dmartss/async-actions
/
lib
/
index.js
15 lines
(12 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
/**
@module
async
-actions */
exports
.
default
=
function
(
action
) {
return
{
PENDING
: action +
"_PENDING"
,
SUCCESS
: action +
"_SUCCESS"
,
FAILED
: action +
"_FAILED"
}; };