vertx / io.vertx.kotlin.ext.web.common.template / io.vertx.ext.web.common.template.TemplateEngine / renderAwait

renderAwait

suspend fun TemplateEngine.renderAwait(context: JsonObject, templateFileName: String): Buffer
suspend fun TemplateEngine.renderAwait(context: Map<String, Any>, templateFileName: String): Buffer

Suspending version of method io.vertx.ext.web.common.template.TemplateEngine.render

Parameters

context - the routing context

templateFileName - the template file name to use

Return

Buffer

NOTE: This function has been automatically generated from io.vertx.ext.web.common.template.TemplateEngine using Vert.x codegen.