withCoConnectHandler
fun ClientBuilder<*>.withCoConnectHandler(handler: suspend (SqlConnection) -> Unit): ClientBuilder<out Any>(source)
A coroutine variant of ClientBuilder.withConnectHandler. With this function, you don't need to call SqlConnection.close in handler.