pub type VariadicTypedBody = dyn for<'ctx> Fn(&[KindedSlot], &ModuleContext<'ctx>) -> Result<TypedReturn, String> + Send + Sync;Expand description
Body signature for a register_typed_function caller.
Variadic — the body inspects the slot slice itself rather than
declaring a per-arg type at registration. Used by stdlib functions
with optional / overload-shaped arguments (json.stringify’s optional
pretty, time.benchmark’s optional iterations, etc.). For
fixed-arity functions, prefer [register_typed_fn_N].