(add-plugin-at-order {:com.wsscode.pathom3.plugin/keys [plugin-order] :as env}
{:com.wsscode.pathom3.plugin/keys [id add-before
add-after]})(build-plugin-actions
{:com.wsscode.pathom3.plugin/keys [plugin-order index-plugins] :as env}
k)(compile-extensions f extension-wrappers)Given a function and a list of extension wrappers, call then in order to create a composed functions of them.
Given a function and a list of extension wrappers, call then in order to create a composed functions of them.
(register plugins)(register env plugins)Add one or many plugins.
Add one or many plugins.
(register-plugin plugin)(register-plugin env {:com.wsscode.pathom3.plugin/keys [id] :as plugin})Add a new plugin to the end. This will create the appropriated structures to optimize the plugin call speed.
Add a new plugin to the end. This will create the appropriated structures to optimize the plugin call speed.
(remove-plugin env plugin-id)Remove a plugin.
Remove a plugin.
(run-with-plugins env plugin-type f)(run-with-plugins env plugin-type f a1)(run-with-plugins env plugin-type f a1 a2)(run-with-plugins env plugin-type f a1 a2 a3)(run-with-plugins env plugin-type f a1 a2 a3 a4)(run-with-plugins env plugin-type f a1 a2 a3 a4 a5)(run-with-plugins env plugin-type f a1 a2 a3 a4 a5 a6)(run-with-plugins env plugin-type f a1 a2 a3 a4 a5 a6 a7)(run-with-plugins env plugin-type f a1 a2 a3 a4 a5 a6 a7 a8)(run-with-plugins env plugin-type f a1 a2 a3 a4 a5 a6 a7 a8 & args)Run some operation f wrapping it with the plugins of a given plugin-type installed in the environment.
Run some operation f wrapping it with the plugins of a given plugin-type installed in the environment.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |