4 ways to do Async code in MobX. We'll cover MobX 4, but show how it would be done in MobX 3. Visit here for the full article: https://www.leighhalliday.com/mobx-async-actions
In the final release of MobX 4, `flow` is no longer a decorator function. Refer to my article above on an example of how to use flow... you simply wrap your function with the flow function:
myFunc = flow(function*() { });