Liking cljdoc? Tell your friends :D

prevayler-clj.prevayler5


filename-number-maskclj


journal-extensionclj


last-snapshot-fileclj

(last-snapshot-file dir)

list-filesclj

(list-files dir)

Prevaylercljprotocol

handle!clj

(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.

snapshot!clj

(snapshot! this)

Creates a snapshot of the current state.

Creates a snapshot of the current state.

timestampclj

(timestamp this)

Calls the timestamp-fn

Calls the timestamp-fn

prevayler!clj

(prevayler! {:keys [initial-state business-fn timestamp-fn dir]
             :or {initial-state {}
                  timestamp-fn (fn* [] (System/currentTimeMillis))}})

snapshot-extentionclj

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close