API for registry.
A registry is a collection of command specifications that define how to recognize, validate, and execute commands found in instruction map.
API for registry. A registry is a collection of command specifications that define how to recognize, validate, and execute commands found in instruction map.
(build command-spec-list)Builds a command registry from a sequence of command specifications.
Validates all specs and returns a registry that can be used with execute. The registry is marked with metadata to enable caching of compilation results.
Args: command-spec-list - A sequence of command specifications
Returns: A validated registry vector with metadata for caching or throws an error
Builds a command registry from a sequence of command specifications. Validates all specs and returns a registry that can be used with execute. The registry is marked with metadata to enable caching of compilation results. Args: command-spec-list - A sequence of command specifications Returns: A validated registry vector with metadata for caching or throws an error
(built? registry)Returns true if the given value is a properly built registry.
Built registry mean that registry was validated and the internal Instruction commands were attached to list of command specifications.
Returns true if the given value is a properly built registry. Built registry mean that registry was validated and the internal Instruction commands were attached to list of command specifications.
(remove-instruction-commands-from-command-vector cm-vector)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 |