Further docs tweaks for v0.6.0
This commit is contained in:
parent
2ce82d9fda
commit
8c01555a6a
|
@ -1,4 +1,4 @@
|
|||
## 0.6.0 (2015-12-10)
|
||||
## 0.6.0 (2015-12-09)
|
||||
|
||||
New API:
|
||||
- [#118](https://github.com/Day8/re-frame/pull/118) - Add `add-post-event-callback` to the API.
|
||||
|
|
|
@ -54,14 +54,15 @@
|
|||
;; -- Event Procssing Callbacks
|
||||
|
||||
(defn add-post-event-callback
|
||||
"Normal users of re-frame can ignore this part of the API. Only
|
||||
needs to be used by libraries providing, so called, Isomorphic rendering.
|
||||
"Normal users of re-frame can ignore this part of the API. Useful
|
||||
only to libraries providing 'isomorphic javascript' rendering on
|
||||
Nodejs or Nashorn.
|
||||
|
||||
Registers a callback function 'f'.
|
||||
f will be called after each dispatched event is proce
|
||||
f will be called after each dispatched event is procecessed
|
||||
f will be called with two parameters:
|
||||
- the event's vector. That which was dispatched orignally.
|
||||
- the further event queue - what is still to be processed.
|
||||
- the further event queue - what is still to be processed. A PersistentQueue.
|
||||
"
|
||||
[f]
|
||||
(router/add-post-event-callback re-frame.router/event-queue f))
|
||||
|
|
Loading…
Reference in New Issue