Store defination steps ->
Perform aync functions with some model type => async/await -> flow/ yield
Below written code is the way to handle async actions using mst with help of generators
someAction: flow(function*() {
// value is typed as number
const value = yield* toGenerator(getDataAsync("input value"));
...
}) ```