spring-framework / org.springframework.web.reactive.function.server / renderAndAwait

renderAndAwait

suspend fun BodyBuilder.renderAndAwait(name: String, vararg modelAttributes: String): ServerResponse
suspend 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