fun <S : Any, E : Any, O : Any> WorkflowPool.onWorkflowUpdate(handle: Handle<S, E, O>, handler: (WorkflowUpdate<S, E, O>) -> R): Unit
Starts the Workflow described by handle if it wasn't already running. This case is selected when the Workflow's state changes from the given, or the Workflow completes.
Callers are responsible for keeping the Workflow running until it is Finished, or else abandoning it. To keep the Workflow running, call onWorkflowUpdate again with the provided Running.handle.
If the workflow is abandoned, this case will never be selected.