(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 is a website building & hosting documentation for Clojure/Script libraries
× close