Expand description
§Template
A config field whose authored JSON is a JSONLogic expression. Every parameter of every built-in function is one of these, and custom handlers declare them for their own config.
A literal is JSONLogic for itself, so the static spelling an author already
writes — "data.output", 30000, {"X-Env": "prod"} — is a valid
Template. Those fold to a constant at compile time and are cached, so a
statically-authored parameter does no per-message work. See
Template::is_constant.
Structs§
- Template
- A config field whose authored JSON is a JSONLogic expression.
- Template
Compiler - Handed to
crate::AsyncFunctionHandler::compile_inputto compile a handler’sTemplatefields at engine construction.