From 178bd806f30d26bc39f399116bdd3d9d1e266bdf Mon Sep 17 00:00:00 2001 From: Mike Thompson Date: Sat, 22 Jul 2017 00:34:09 +1000 Subject: [PATCH] Add new FAQ entry --- docs/FAQs/README.md | 1 + docs/FAQs/When-Does-Dispatch-Happen.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 docs/FAQs/When-Does-Dispatch-Happen.md diff --git a/docs/FAQs/README.md b/docs/FAQs/README.md index a090dc0..e845e42 100644 --- a/docs/FAQs/README.md +++ b/docs/FAQs/README.md @@ -1,6 +1,7 @@ ## Frequently Asked Questions 1. [How can I Inspect app-db?](Inspecting-app-db.md) +2. [How long after I do a dispatch does the event get handled?](When-Does-Dispatch-Happen.md) 2. [How can I use a subscription in an Event Handler](UseASubscriptionInAnEventHandler.md) 2. [How do I use logging method X](Logging.md) 3. [Dispatched Events Are Null](Null-Dispatched-Events.md) diff --git a/docs/FAQs/When-Does-Dispatch-Happen.md b/docs/FAQs/When-Does-Dispatch-Happen.md new file mode 100644 index 0000000..f6c05a9 --- /dev/null +++ b/docs/FAQs/When-Does-Dispatch-Happen.md @@ -0,0 +1,16 @@ +### Question + +How long after I call `dispatch` will the event be processed? + +### Answer + +The answer is "it depends", but [this comment in the code](https://github.com/Day8/re-frame/blob/master/src/re_frame/router.cljc#L8-L60) +might give you the answers you want. + + +Up: [FAQ Index](README.md)       + + + + +