packages/twig-renderer/twig-renderer.js
async function render(template, data = {}, keepAlive = false) {
  await prep(keepAlive);
  const results = await twigRenderer.render(template, data);
  return results;
}
async function render(template, data = {}, keepAlive = false) {
  await prep(keepAlive);
  const results = await twigRenderer.render(template, data);
  return results;
}
async function render ( template , data = { } , keepAlive = false ) { await prep ( keepAlive ) ; const results = await twigRenderer . render ( template , data ) ; return results ; }
Render Twig Template
@param {string} template - Template name (i.e. `@bolt/button.twig`)
@param {Object} data - Optional data to pass to template
@param {Boolean} keepAlive - Optionally tell the Twig renderer service to keep alive to help speed up requests
@return {Promise<{{ ok: boolean, html: string, message: string}}>} - Results of render
Render Twig Template