(-fx->)
(-val->)
(<-consume k)
(<-consume- id)
(<-dbg k v)
(<-fx f)
(<-fx f deps)
Executes f
. If f
returns a function, runs that function on reload.
deps
is compared on reload; if no change, effect is skipped.
Executes `f`. If `f` returns a function, runs that function on reload. `deps` is compared on reload; if no change, effect is skipped.
(<-fx- f)
(<-fx- f deps)
(<-mut-val initial)
Initializes a mutable ref that will maintain its state on re-load
Initializes a mutable ref that will maintain its state on re-load
(<-resource start)
(<-resource start stop)
(<-resource start stop deps)
Handles the lifecycle of a resource. Starts the resource on system load,
and runs the stop function when system unloads. On reload and deps change,
it will restart the resource. Returns the value returned by start
Handles the lifecycle of a resource. Starts the resource on system load, and runs the stop function when system unloads. On reload and deps change, it will restart the resource. Returns the value returned by `start`
(<-resource- start)
(<-resource- start stop)
(<-resource- start stop deps)
(<-val f)
Initializes a value that will maintain its state on re-load
Initializes a value that will maintain its state on re-load
(<-val- f)
(<> & children)
(assoc-cell! x)
(capture-frame)
(cleanup-after! e)
(cleanup-prev-tree! v)
(construct-frame {:keys [context debug? do-fx module provided do-val do-resource
do-consume]}
f)
(current-cell)
(datafy-system system)
(defmodule name args-bindings & body)
(dissoc-cell!)
(listify f)
(load! system & {:keys [debug?]})
(next-cell!)
(prev-tree)
(provide m & children)
(restore-frame frame f)
(system f)
(system* f)
(unload! system & {:keys [debug?]})
(walk! form {:keys [before after debug-action] :as opts})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close