blockingEval

fun <R> blockingEval(expr: String): R

Evaluates the given expression by borrowing an evaluator from the pool, blocking the current thread.

Return

the result of the evaluation, cast to R

Parameters

expr

the expression to evaluate

Type Parameters

R

the expected return type of the evaluation