TemplaterApi.end_templater_task
TemplaterApi › end_templater_task
Type: (path: string) => Promise<void>
Closes the task TemplaterApi.start_templater_task opened. Once the last pending path is closed,Templater triggers templater:all-templates-executed, which is the ONLY thing that runs a template's tp.hooks.on_all_templates_executed(…) callbacks, so a caller must reach this even when the render throws.