awaitNextOutput

fun awaitNextOutput(timeoutMs: Long? = null): OutputT(source)

Blocks until the workflow emits an output, then returns it.

Parameters

timeoutMs

The maximum amount of time to wait for an output to be emitted. If null, DEFAULT_TIMEOUT_MS will be used instead.