use

suspend fun <T> LiteRTCompiler.use(block: suspend (LiteRTCompiler) -> T): T

Automatically closes the LiteRTCompiler after the block is executed.