KotlinExprEvaluatorPool

A pre-populated pool of KotlinExprEvaluator instances backed by a coroutine Channel.

Instances are created eagerly during initialization.

Parameters

size

the number of KotlinExprEvaluator instances to create in the pool

Constructors

Link copied to clipboard
constructor(size: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
fun <R> blockingEval(expr: String): R
Link copied to clipboard
suspend fun <R> eval(expr: String): R