(handle! this event)Journals the event, applies the business function to the state and the event; and returns the new state.
Journals the event, applies the business function to the state and the event; and returns the new state.
(timestamp this)Calls the timestamp-fn
Calls the timestamp-fn
(prevayler! {:keys [initial-state business-fn timestamp-fn journal-file]
:or {initial-state {}
timestamp-fn (fn* [] (System/currentTimeMillis))
journal-file (File. "journal4")}})cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |