xaviergonz / mobx-keystone

A MobX powered state management solution based on data trees with first class support for Typescript, support for snapshots, patches and much more
https://mobx-keystone.js.org
MIT License
549 stars 25 forks source link

actionAsync from mobx-utils instead modelFlow #140

Closed swayf closed 4 years ago

swayf commented 4 years ago

Can asyncAction from mobx-utils be used just instead modelFlow?? =) or modelFlow still has something specific for the mobx-keystone?

xaviergonz commented 4 years ago

I'm afraid it can't (also I think asyncAction is actually deprecated in favor of flow / actionAsync IIRC?)

swayf commented 4 years ago

oops.. sorry.. I mean actionAsync (with async/await).. I think the syntax looks a little bit better than generators.. =)