0xgeert / flux-test

2 stars 0 forks source link

dispatcher: queue actions so only 1 action is processed simult? #12

Closed 0xgeert closed 10 years ago

0xgeert commented 10 years ago

In the Facebook talk on the Flux architecture, Jing mentions at 12:17 that the dispatcher enforces that no actions can be dispatched until the current action is fully processed by the stores.

Fluxxor implements this by simply raising error when still busy: https://github.com/BinaryMuse/fluxxor/blob/master/lib/dispatcher.js