run

fun <T> run(block: Supplier<T?>): T?

Calls the specified function block and returns its nullable result.


fun run(block: Runnable)

Calls the specified function block and returns no result.