Liking cljdoc? Tell your friends :D

k16.mallard.api


redo!clj

(redo! props)

Reapply the last applied operation. This will roll it back first

Reapply the last applied operation. This will roll it back first
raw docstring

runclj

(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}
raw docstring

run-down!clj

(run-down! props)

Rollback all applied operations

Rollback all applied operations
raw docstring

run-next!clj

(run-next! props)

Run the next unapplied operation

Run the next unapplied operation
raw docstring

run-up!clj

(run-up! props)

Execute all unapplied operations

Execute all unapplied operations
raw docstring

undo!clj

(undo! props)

Rollback the last applied operation

Rollback the last applied operation
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close