Fork me on GitHub
#re-frame
<
2016-12-29
>
dvcrn09:12:02

is there any guarantee in which order events are being processed? If I have a handler called :init and it uses

(dispatch [:foo])
(dispatch [:bar])
(dispatch [:moo])
before returning the db, would it always go in foo->bar>moo order?

dvcrn09:12:16

The way I understand it is that it internally adds things to a queue so my naive answer would be 'yes'

mikethompson09:12:38

dispatched events are placed into FIFO queue for processing

Drew Verlee21:12:00

Does anyone have a favorite way to deploy re-frame and datomic?