unirakun / k-mst-onaction

Listen to mobx-state-tree actions and react to them!
MIT License
15 stars 0 forks source link

Add a `async` boolean to the `action` object #11

Open fabienjuif opened 6 years ago

fabienjuif commented 6 years ago

How do we do this ? Source : https://github.com/mobxjs/mobx-state-tree/issues/486#issuecomment-339599368

fabienjuif commented 6 years ago

See https://github.com/mobxjs/mobx-state-tree/blob/master/packages/mst-middlewares/src/undo-manager.ts#L39