PythonExprEvaluatorPool

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

Instances are created eagerly during initialization.

Parameters

size

the number of PythonExprEvaluator 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
Link copied to clipboard
suspend fun eval(expr: String): Boolean