evaluatePausing

open suspend fun evaluatePausing(source: String, name: String = "<script>"): String?(source)

Runs source as evaluate does, but an engine that can pause in the middle of a script gives the thread back now and then, so a long script does not freeze a page on the web. The default runs evaluate.

Throws