awaitNextOutput  
  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.
Blocks until the workflow emits an output, then returns it.
The maximum amount of time to wait for an output to be emitted. If null, DEFAULT_TIMEOUT_MS will be used instead.