Skip to main content

register_tera_function

Function register_tera_function 

Source
pub fn register_tera_function(tera: &mut Tera)
Expand description

Register stream_render on tera. Call once at Tera setup.

Resolves name against the thread-local map installed by install (the public render pipeline installs it just before tera.render); falls back to an explicit _stream_html= arg for direct callers.