Closed mdartic closed 4 years ago
When we create actions, VRS change the nature of the action function.
If the function is synchronous, it becomes an asynchronous function.
This is related to https://github.com/mdartic/vue-reactive-store/blob/master/src/wrapper.ts#L17 and the replacement of the initial action in https://github.com/mdartic/vue-reactive-store/blob/master/src/store.ts#L130 .
I think we don't have to change this nature.
When we create actions, VRS change the nature of the action function.
If the function is synchronous, it becomes an asynchronous function.
This is related to https://github.com/mdartic/vue-reactive-store/blob/master/src/wrapper.ts#L17 and the replacement of the initial action in https://github.com/mdartic/vue-reactive-store/blob/master/src/store.ts#L130 .
I think we don't have to change this nature.