awaitNextRendering
fun awaitNextRendering(timeoutMs: Long? = null, skipIntermediate: Boolean = true): RenderingT(source)
Blocks until the workflow emits a rendering, then returns it.
Parameters
timeoutMs
The maximum amount of time to wait for a rendering to be emitted. If null, WorkflowTestRuntime.DEFAULT_TIMEOUT_MS will be used instead.
skipIntermediate
If true, and the workflow has emitted multiple renderings, all but the most recent one will be dropped.