UNPKG
@data-client/core
Version:
beta (0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4)
latest (0.18.1)
0.18.1
0.18.0
0.16.7
0.16.0
0.15.7
0.15.4
0.15.3
0.15.1-beta-20251116224907-3174fe59b114d2037762a6458f5576d23e483ba4
0.15.0
0.15.0-beta-20251022142546-a457d1596871fb28f1a91f2531cc259db4d55a9c
0.15.0-beta-20251006024044-92bd01c4976f2921993b8c9f1e4dbb87af87ba7b
0.14.24
0.14.23
0.14.21
0.14.20
0.14.19
0.14.18
0.14.16
0.14.13
0.14.10
0.14.8
0.14.6
0.14.5
0.14.4
0.14.2
0.14.1
0.14.0
0.13.5
0.13.1
0.13.0
0.12.5
0.12.3
0.12.1
0.11.5
0.11.4
0.11.0
0.10.0
0.9.7
0.9.4
0.9.3
0.9.2
0.9.0
0.8.1
0.8.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.0
Async State Management without the Management. REST, GraphQL, SSE, Websockets, Fetch
dataclient.io
@data-client/core
/
src
/
controller
/
actions
/
createReset.ts
10 lines
(8 loc)
•
200 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
RESET
}
from
'../../actionTypes.js'
;
import
type {
ResetAction
}
from
'../../types.js'
;
export
function
createReset
(
):
ResetAction
{
return
{
type
:
RESET
,
date
:
Date
.
now
(), }; }