measure

suspend fun measure(dataset: Dataset, host: Host = systemHost(), runtime: String? = null, progress: (Int, Int) -> Unit = { _, _ -> }): Device(source)

Each probe runs off the caller's thread where there is one, and progress is called on the caller's thread after each; the yield lets a single-threaded caller draw in between.