noSuspend

fun <T : Any, R : Any> T.noSuspend(callback: suspend T.() -> R): R

Allows to execute a suspendable block as long as you can ensure no suspending will happen at all..