suspend fun BodyBuilder.renderAndAwait(name: String, vararg modelAttributes: String): ServerResponsesuspend fun BodyBuilder.renderAndAwait(name: String, model: Map<String, *>): ServerResponse
Coroutines variant of ServerResponse.BodyBuilder.syncBody without the sync prefix since it is ok to use it within another suspendable function.
Author
Sebastien Deleuze
Since
5.2