(redo! props)
Reapply the last applied operation. This will roll it back first
Reapply the last applied operation. This will roll it back first
(run {create-ctx-fn :create-ctx!
create-store-fn :create-store!
shutdown-fn :shutdown!
load-dir :load-dir
operations :operations
action :action})
A run function to be used in a Deps.edn project to execute operations using the file loader.
:init-store! - Should be given a symbol that resolves to a datastore init function. :load-dir - should be a resource path to a directory containing operation files that will be loaded using the file loader. :operations - Should be a symbol resolving to a set of operations :action - should be given an action to perform. One of #{:up :down :next :undo :redo}
A run function to be used in a Deps.edn project to execute operations using the file loader. :init-store! - Should be given a symbol that resolves to a datastore init function. :load-dir - should be a resource path to a directory containing operation files that will be loaded using the file loader. :operations - Should be a symbol resolving to a set of operations :action - should be given an action to perform. One of #{:up :down :next :undo :redo}
(run-down! props)
Rollback all applied operations
Rollback all applied operations
(run-next! props)
Run the next unapplied operation
Run the next unapplied operation
(run-up! props)
Execute all unapplied operations
Execute all unapplied operations
(undo! props)
Rollback the last applied operation
Rollback the last applied operation
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close